#include <bits/stdc++.h>
using namespace std;
const long long INF = (long long)1e9;
const long long MOD = (long long)1e9 + 7;
const double EPS = (double)1e-10;
struct Accelerate_Cin {
  Accelerate_Cin() {
    cin.tie(0);
    ios::sync_with_stdio(0);
    cout << fixed << setprecision(20);
  };
};
signed main() {
  long long K;
  cin >> K;
  long long cont = 1;
  for (long long t = 1; t <= K; t++) {
    if (1 <= t && t <= 9) {
      cout << t << "\n";
    } else {
      cout << cont * 10 + 9 << "\n";
      cont++;
    }
  }
  return 0;
}
