#include <bits/stdc++.h>
using namespace std;
const double pi =
    3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342;
const int mod = 1000000007;
int main() {
  long long int n, c = 1;
  cin >> n;
  while (c <= n) {
    if (c < 10)
      cout << c << endl;
    else {
      cout << (c - 1) % 9 + 1;
      for (int i = (0); i < ((c - 1) / 9); ++i) cout << "9";
      cout << endl;
    }
    c++;
  }
  return 0;
}
