#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  cout << 1;
  for (int i = (2); i <= (min(k, 9)); i++) {
    cout << " " << i;
  }
  if (k > 9) {
    long long a = 9;
    for (int i = (9); i < (k); i++) {
      a += 10;
      cout << " " << a;
    }
  }
  cout << endl;
}
