#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
long long A, B, C, D, G, H, N, M, L, K, P, Q, R, W, X, Y, Z;
long long ans = 0;
int main() {
  cin >> K;
  if (K <= 9)
    for (int i = 1; i <= K; i++) cout << i << endl;
  else {
    for (int i = 1; i <= 9; i++) cout << i << endl;
    ans = 9;
    K -= 9;
    while (K) {
      ans += 10;
      K--;
      cout << ans << endl;
    }
  }
}
