#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K;
  cin >> K;
  for (int i = 1; i <= 9; i++) {
    if (K < i) return 0;
    cout << i << "\n";
  }
  long long n = 19;
  for (long long i = 10; i <= K; i++) {
    cout << n << "\n";
    n += 10;
  }
  return 0;
}
