#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 <= 9; ++i) {
    cout << i << endl;
  }
  for (long long int i = 10; i <= N; ++i) {
    if (i % 10 == 9) {
      ++i, ++N;
      cout << 1;
    } else {
      cout << i % 10 + 1;
    }
    for (int j = (0); j < (i / 10); ++j) cout << "9";
    cout << endl;
  }
}
