#include <bits/stdc++.h>
using namespace std;
vector<vector<int> > ans;
vector<vector<vector<int> > > vvvi;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long K;
  cin >> K;
  if (K >= 9) {
    for (int i = 0; i < 9; i++) cout << i + 1 << endl;
  }
  K -= 9;
  long long j = 19;
  long long C = 10;
  long long cnt = 1;
  while (K > 0) {
    cout << j << endl;
    j += C;
    cnt++;
    if (cnt == 9) {
      C *= 10;
      cnt = 0;
    }
    K--;
  }
  return 0;
}
