#include <bits/stdc++.h>
using namespace std;
int K;
int main() {
  cin >> K;
  for (int i = 0; i < (int)min(K, 9); i++) cout << i + 1 << endl;
  K -= 9;
  int n = 9;
  while (K > 0) {
    n += 10;
    cout << n << endl;
    K--;
  }
  return 0;
}
