#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  long long cnt = 1;
  while (n >= cnt) {
    long long i = cnt % 9;
    long long nine = pow(10, cnt / 9) - 1;
    cout << pow(10, cnt / 9) * i + nine << endl;
    cnt++;
  }
  return 0;
}
