#include <bits/stdc++.h>
using namespace std;
long long sum(long long n) {
  if (n == 0) return 0;
  return n % 10 + sum((n / 10));
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long k;
  cin >> k;
  long long i = 1;
  long long m = 1;
  while (m <= k) {
    cout << m << "\n";
    if (m == 9) break;
    m++;
  }
  long long ts = 10;
  long long p = 19;
  while (ts <= k) {
    cout << p << "\n";
    p += 10;
    ts++;
  }
}
