#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll k;
  cin >> k;
  for (int i = 1; i < 10; i++) {
    k--;
    cout << i << endl;
  }
  ll now = 19;
  while (k > 0) {
    cout << now << endl;
    now += 10;
    k--;
  }
}
