#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  ll K;
  cin >> K;
  for (ll i = 1; i <= 9; i++) {
    cout << i << endl;
    K--;
    if (K == 0) break;
  }
  ll a = 1;
  for (ll i = 0; i < K; i++) {
    cout << a * 10 + 9 << endl;
    a++;
  }
  return 0;
}
