#include <bits/stdc++.h>
using namespace std;
int dp[110] = {0};
bool flag[110] = {false};
int main(void) {
  long long K, ans = 0;
  cin >> K;
  for (long long i = 1; i <= K; i++) {
    if (i <= 10) {
      if (ans != K) {
        if (i == 10) {
          cout << 19 << endl;
          ans++;
        } else {
          cout << i << endl;
          ans++;
        }
      } else {
        if (i == 10) {
          cout << 19 << endl;
          return 0;
        } else {
          cout << i << endl;
          return 0;
        }
      }
    } else {
      if (ans != K) {
        cout << 10 * (i - 9) + 9 << endl;
      } else {
        cout << 10 * (i - 10) + 9 << endl;
        return 0;
      }
    }
  }
  return 0;
}
