#include <bits/stdc++.h>
using namespace std;
void sumod(long long int n) {
  long long int k = n, ans = 0;
  while (k != 0) {
    ans += k % 10;
    k /= 10;
  }
  if (n % ans == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long int k, count = 0;
  cin >> k;
  for (long long int i = 1;; i++) {
    if (i < 10)
      cout << i << endl;
    else
      cout << (i - 9) * 10 + 9 << endl;
    count++;
    if (count == k) break;
  }
}
