#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long int N;
  cin >> N;
  for (long long int i = 1; i <= N; ++i) {
    if (i / 10 == 0)
      cout << ((i % 10) - 9) + 9 << endl;
    else
      cout << ((i % 10) - 9) + 10;
    for (int j = (0); j < (i / 10); ++j) {
      cout << "9" << endl;
    }
  }
}
