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