#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007LL;
const double PI = 3.14159265358979;
void solve() {
  ll n;
  cin >> n;
  int a = 1;
  int cnt = 0;
  while (n--, n >= 0) {
    cout << a;
    for (int i = 0; i < cnt; ++i) cout << 9;
    cout << "\n";
    a++;
    if (a == 10) {
      cnt++;
      a = 1;
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
  return 0;
}
