#include <bits/stdc++.h>
using namespace std;
using P = pair<int, int>;
using ll = long long;
const int MOD = 1e9 + 7;
int main() {
  ll k;
  cin >> k;
  for (int i = 1; i < 10; i++) {
    cout << i << endl;
    k--;
    if (k == 0) break;
  }
  for (ll i = 19; k > 0; i += 10) {
    cout << i << endl;
    k--;
  }
}
