#include <bits/stdc++.h>
using namespace std;
const int MAX1 = 5e3 + 10, Md = 1e9 + 7, Base = 257;
long long n;
long long solve(long long a) {
  long long sum = 0;
  while (a) {
    sum += a % 10;
    a /= 10;
  }
  return sum;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  ;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cout << i % 9 + 1;
    for (int j = 0; j < i / 9; ++j) cout << 9;
    cout << '\n';
  }
  return 0;
}
