#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int counter = 1;
  long long dig = 1;
  long long num = 0;
  while (counter <= K) {
    int i;
    for (i = 1; i < 10; i++) {
      cout << num + dig * i << endl;
      counter++;
      if (counter > K) {
        i = 10;
      }
    }
    num = num + (i - 1) * dig;
    dig *= 10;
  }
  return 0;
}
