#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, i, count = 0;
  cin >> n;
  string s1[10], s;
  for (i = 0; i < n; i++) {
    cout << (i % 9) + 1 << s << "\n";
    count++;
    if (count == 9) {
      s += '9';
      count = 0;
    }
  }
}
