#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, k = 1, sum, x = 19, lol = 1000, p = 10;
  cin >> n;
  if (n < 10)
    for (long long i = 1; i <= n; i++) cout << i << '\n';
  else {
    for (long long i = 1; i <= 9; i++) cout << i << '\n';
    for (long long i = 10; i <= n; i++) {
      if (k == 10) {
        k = 1;
        x += lol;
        lol *= 10;
        p *= 10;
      }
      cout << x << '\n';
      if (k < 9) x += p;
      k++;
    }
  }
  return 0;
}
