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