#include <bits/stdc++.h>
using namespace std;
int cnt[] = {9, 9, 19, 28, 37, 46, 55, 64, 73, 82, 91, 90, 90, 90, 90, 90, 90};
long long pw[11000];
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0), cout.tie(0);
  int pwn = 0;
  long long ppp = 1;
  for (int i = 0; i < 17; i++, ppp *= 10)
    while (cnt[i]--) pw[pwn++] = ppp;
  int K;
  cin >> K;
  long long now = 0;
  for (int i = 0; i < K && i < pwn; i++) {
    now += pw[i];
    cout << now << "\n";
  }
  return 0;
}
