#include <bits/stdc++.h>
using namespace std;
const long double PI = 3.141592653589793238463;
const int N = 1010;
const long long INF = 1LL << 60;
template <class T>
void chmax(T &a, T b) {
  if (a < b) a = b;
}
template <class T>
void chmin(T &a, T b) {
  if (a > b) a = b;
}
int main() {
  long long n;
  cin >> n;
  int i = 1;
  long long j = 0;
  while (n--) {
    cout << i;
    int cnt = 0;
    while (cnt < j) {
      cout << 9;
      cnt++;
    }
    cout << endl;
    i++;
    if (i == 10) {
      i = 1;
      j++;
    }
  }
}
