#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  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;
    long long j = 9;
    for (long long i = 0; i < (k - 9); i++) {
      j += 10;
      cout << j << endl;
    }
  }
  return 0;
}
