#include <bits/stdc++.h>
using namespace std;
using ull = unsigned long long int;
int main() {
  long k;
  long cnt = 1;
  cin >> k;
  long runk = k / 9;
  vector<long> num(runk + 1, 0);
  for (long long int i = 1; i < (long long int)(k + 1); i++) {
    num[(int)(i / 10)]++;
    string str = "";
    for (long long int j = 0; j < (long long int)(num.size()); j++) {
      str += to_string(num[num.size() - j - 1]);
    }
    cout << stoull(str) << endl;
  }
  return 0;
}
