#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  for (int i = 1; k; i++) {
    cout << i << endl;
    k--;
    if (i == 9) break;
  }
  long long int n = 19;
  long long int a = 10;
  long long int b = 0;
  while (k > 0) {
    cout << n << endl;
    k--;
    if (b++ == 8) a *= 10, b = 0;
    n += a;
  }
  return 0;
}
