#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  if (k < 10) {
    for (int i = 1; i <= k; i++) cout << i << '\n';
    return 0;
  }
  for (int i = 1; i <= 9; i++) cout << i << '\n';
  k -= 9;
  int nine = 1;
  int curr = 1;
  while (k--) {
    cout << curr;
    for (int i = 0; i < nine; i++) cout << 9;
    cout << '\n';
    curr++;
    if (curr == 10) {
      curr = 1;
      nine++;
    }
  }
}
