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