#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  int count = 1;
  int rep = 0;
  for (int i = 0; i < k; i++) {
    cout << count;
    for (int j = 0; j < rep; j++) cout << "9";
    cout << '\n';
    if (count == 9) {
      count = 1;
      rep++;
    } else {
      count++;
    }
  }
  return 0;
}
