#include <bits/stdc++.h>
using namespace std;
int func(int n) {
  int ans = 0;
  while (n) {
    ans += n % 10;
    n /= 10;
  }
  return ans;
}
int main() {
  long int K, count = 9, n = 19;
  cin >> K;
  for (int i = 0; i < 10; i++) cout << i << endl;
  while (count != K) {
    cout << n << endl;
    n += 10;
    count++;
  }
}
