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