#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void P() { cerr << endl; }
template <typename H, typename... T>
void P(H h, T... t) {
  cerr << h << " ";
  P(t...);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int k;
  cin >> k;
  vector<int> v{1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99};
  assert(k < 19);
  for (int i = 0; i < k; ++i) cout << v[i] << endl;
}
