#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int cnt;
  cin >> cnt;
  if (cnt < 10) {
    for (int i = 1; i <= cnt; i++) {
      cout << i << endl;
    }
  } else {
    for (int i = 1; i < 10; i++) {
      cout << i << endl;
    }
    cnt -= 9;
    long long int c = 9;
    long long int d = 10;
    while (cnt > 0) {
      if (cnt >= 9) {
        for (int i = 0; i < 9; i++) {
          c = c + d;
          cout << c << endl;
        }
        cnt -= 9;
        d *= 10;
        c = d - 1;
      } else {
        for (int i = 0; i < cnt; i++) {
          c += d;
          cout << c << endl;
        }
        cnt = 0;
      }
      if (cnt == 0) {
        break;
      }
    }
  }
  return 0;
}
