#include <bits/stdc++.h>
const int PRIME = 1000000007;
const int INT_INF = 2147483647;
const long long int LL_INF = 9223372036854775807;
const double PI = acos(-1);
const double EPS = 0.000000001;
using namespace std;
int main() {
  int i, k, n;
  cin >> k;
  for (i = 1, n = 0; i < 10; i++, n++) {
    if (n == k) break;
    cout << i << endl;
  }
  for (i = 19;; i += 10) {
    n++;
    if (n > k) break;
    cout << i << endl;
  }
  return 0;
}
