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