#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long K;
  cin >> K;
  for (int i = 1; i < 10; ++i) {
    if (i > K) return;
    cout << i << endl;
  }
  long long cur = 9;
  long long count = 9;
  while (count < K) {
    cur += 10;
    cout << cur << endl;
    count++;
  }
}
int main() {
  solve();
  return 0;
}
