#include <bits/stdc++.h>
using namespace std;
int64_t K;
int main() {
  cin >> K;
  if (9 <= K)
    for (int i = 1; i <= 9; i++) cout << i << endl;
  string num9 = "";
  int64_t i = 1, cnt = 9;
  while (1) {
    cout << i << "9" << endl;
    i++;
    cnt++;
    if (cnt == K) break;
  }
}
