#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll k;
  cin >> k;
  ll i = 1, j = 1;
  while ((i <= k) && (i < 10)) {
    cout << i << '\n';
    i++;
  }
  while (j < k - 8) {
    cout << 10 * j + 9 << '\n';
    j++;
  }
}
