#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int k = 0;
  cin >> k;
  long long tmp = 0;
  long long rate = 1;
  for (int i = 0; i < k; i++) {
    long long check = tmp + rate;
    if (to_string(check).size() - to_string(tmp).size() != 0) {
      rate *= 10;
    }
    long long now = tmp + rate;
    cout << now << endl;
    tmp = now;
  }
}
