#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
string s[maxn];
int main() {
  s[0] = '1';
  for (int i = 1; i <= 8; i++) s[i] = '1' + i;
  int k = 9;
  while (1) {
    s[k] = s[k - 9] + '9';
    k++;
    if (k >= 500) break;
  }
  int n;
  cin >> n;
  for (int i = 0; i < n; i++) cout << s[i] << endl;
}
