#include <bits/stdc++.h>
const int MOD = 1000000007, INF = 1111111111;
using namespace std;
using lint = long long;
lint digi(lint n) {
  lint tmp = n, res = 0;
  while (tmp != 0) {
    res += tmp % 10;
    tmp /= 10;
  }
  return res;
}
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int K;
  cin >> K;
  string nine = "";
  for (int i = 1; i <= 10000000; i++) {
    if (i % 10) {
      cout << to_string(i % 10) + nine << "\n";
      K--;
    }
    if (i % 10 == 9) nine += '9';
    if (!K) break;
  }
  return 0;
}
