#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int k, c9 = 1, c = 1;
  long long int count = 10;
  cin >> k;
  long long int res;
  for (int i = 1; i <= k; i++) {
    if (i < 10) {
      cout << i;
    } else {
      res = count * c9;
      int nine = 9;
      for (int j = 1; j <= c; j++) {
        res += nine;
        nine = nine * 10;
      }
      cout << res;
      c9++;
      if (c9 == 10) {
        count = count * 10;
        c++;
        c9 = 1;
      }
    }
    putchar('\n');
  }
  return 0;
}
