#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  queue<ll> q;
  for (ll i = 1; i <= 9; i++) q.push(i);
  ll now = 19;
  while (q.size() < k) {
    q.push(now);
    now += 10;
  }
  for (int i = 0; i < k; i++) {
    cout << q.front() << '\n';
    q.pop();
  }
}
