#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long k;
  cin >> k;
  unsigned long long x = 19;
  if (k < 10)
    for (int i = 1; i <= k; i++) cout << i << endl;
  else {
    for (int i = 1; i <= 9; i++) cout << i << endl;
    for (unsigned long long i = 10; i <= k; i++) {
      cout << x << endl;
      x += 10;
    }
  }
  return 0;
}
