#include <bits/stdc++.h>
using namespace std;
int main() {
  long a;
  long count = 0;
  cin >> a;
  for (long i = 0; i <= a; i++) {
    for (int j = 1; j <= 9; j++) {
      cout << j;
      for (int k = 0; k < i; k++) {
        cout << 9;
      }
      cout << "\n";
      count++;
      if (count == a) break;
    }
    if (count == a) break;
  }
}
