#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int k;
  cin >> k;
  long long int a, x;
  x = 1000;
  long long int c = 10;
  for (long long int i = 1; i <= k; i++) {
    if (i < 10) {
      a = 9;
      cout << i << endl;
    } else {
      if (a + c > x) {
        c *= 10;
        x *= 10;
      }
      a += c;
      cout << a << endl;
    }
  }
  return 0;
}
