#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  if (n < 10) {
    for (long long i = 1; i <= n; ++i) cout << i << "\n";
    return 0;
  }
  for (long long i = 1; i <= 9; ++i) cout << i << "\n";
  long long cnt = 0, x = n - 9;
  for (long long i = 19;; i += 10) {
    cnt++;
    cout << i << "\n";
    if (cnt == x) return 0;
  }
  return 0;
}
