#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll mod = ll(1e9) + 7;
const int INF = int(1e9);
int main() {
  int K;
  cin >> K;
  for (int i = 0; i < (int)(9); i++) {
    cout << i + 1 << endl;
    K--;
    if (K == 0) {
      return 0;
    }
  }
  int ans = 19;
  while (K--) {
    cout << ans << endl;
    ans += 10;
  }
  return 0;
}
