#include <bits/stdc++.h>
using namespace std;
int sum(int x) {
  int res = 0;
  while (x > 0) {
    res += x % 10;
    x /= 10;
  }
  return res;
}
void brute() {
  for (int i = (1); i <= (1000); i++) {
    bool ok = 1;
    for (int j = (i + 1); j <= (10000); j++) {
      if (i * sum(j) > j * sum(i)) {
        ok = 0;
        break;
      }
    }
    if (ok) cout << i << '\n';
  }
}
const int N = (int)1e4 + 5;
string num[N];
void solve(int testcase) {
  for (int i = (1); i <= (9); i++) num[i] = (char)(i + '0');
  for (int i = 10; i < N; i++) {
    num[i] = (num[i - 9] + '9');
  }
  int k;
  cin >> k;
  for (int i = (1); i <= (k); i++) cout << num[i] << '\n';
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cout << setprecision(10);
  clock_t b = clock();
  int t = 1;
  for (int tt = (1); tt <= (t); tt++) solve(tt);
  clock_t e = clock();
  cerr << (double(e - b) / CLOCKS_PER_SEC) << " sec";
  return 0;
}
