#include <bits/stdc++.h>
using namespace std;
int main() {
  long long k, ans = 0;
  cin >> k;
  while (k > 0) {
    ans++;
    cout << ans << endl;
    k--;
    if (ans == 9) break;
  }
  long long a = 10;
  while (k > 0) {
    for (int i = 0; i < 9; i++) {
      ans += a;
      cout << ans << endl;
      k--;
      if (k == 0) return 0;
    }
    a *= 10;
  }
  return 0;
}
