#include <bits/stdc++.h>
using namespace std;
int n;
int findSumOfDigits(int);
int main(int argc, char const *argv[]) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int k;
  cin >> k;
  if (k <= 9) {
    for (int i = (0); i < (k); ++i) cout << i + 1 << endl;
  } else {
    for (int i = (0); i < (9); ++i) cout << i + 1 << endl;
  }
  int res = k - 9;
  int m = 19;
  for (int i = (0); i < (res); ++i) {
    cout << m << endl;
    m += 10;
  }
  return 0;
}
int findSumOfDigits(int n) {
  int sum = 0;
  while (n > 0) {
    sum += n % 10;
    n /= 10;
  }
  return sum;
}
