#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  ll k;
  cin >> k;
  for (int i = 1; i <= k; i++)
    if (i <= 9)
      cout << i << endl;
    else
      cout << 19 + (i - 10) * 10 << endl;
  return 0;
}
