#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int k, i, count = 0;
  cin >> k;
  if (k >= 10) {
    for (i = 1; i <= 9; i++) cout << i << endl;
    for (i = 19; i <= 10e15; i += 10) {
      if (count == (k - 9)) break;
      cout << i << endl;
      count += 1;
    }
  } else {
    for (i = 1; i <= k; i++) cout << i << endl;
  }
  return 0;
}
