#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int cnt;
  cin >> cnt;
  if (cnt < 10) {
    for (int i = 1; i <= cnt; i++) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i < 10; i++) {
      cout << i << endl;
    }
    cnt -= 9;
    long long int c = 10;
    long long int d = 10;
    while (cnt > 0) {
      cout << c + d - 1 << endl;
      c += d;
      cnt--;
    }
  }
  return 0;
}
