#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long a = 1, b = 1;
  if (n <= 27) {
    for (int i = 1; i <= n; i++) {
      cout << b << endl;
      if (i % 9 == 0) a = a * 10;
      b = b + a;
    }
  } else {
    for (int i = 1; i <= 26; i++) {
      cout << b << endl;
      if (i % 9 == 0) a = a * 10;
      b = b + a;
    }
    for (int i = 27; i <= n; i++) {
      cout << b << endl;
      b = b + a;
    }
  }
}
