#include <bits/stdc++.h>
using namespace std;
int static fast = []() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  return 0;
}();
int main() {
  long long K;
  cin >> K;
  long long repeat = K / 9;
  long long rem = K % 9;
  string ans = "0";
  while (K-- > 0) {
    if (ans[0] != '9')
      ans[0] += 1;
    else
      ans = "1" + ans;
    cout << ans << endl;
  }
  return 0;
}
