#include <bits/stdc++.h>
using namespace std;
const long mod = 998244353;
const int siz = 1e5;
const long inf = 1e9;
int main() {
  int K;
  cin >> K;
  int cnt = 0;
  long a = 1, b = 0;
  for (int i = 0; i < 16; i++) {
    for (int j = 1; j < 10; j++) {
      cout << j * a + b << endl;
      if (++cnt == K) return 0;
    }
    a *= 10;
    (b *= 10) += 9;
  }
}
