#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007LL;
const double PI = 3.14159265358979;
void solve() {
  ll n;
  cin >> n;
  for (int i = 1; i <= min(9LL, n); ++i) {
    cout << i << "\n";
  }
  n -= 9;
  ll ans = 19;
  while (n--, n >= 0) {
    cout << ans << "\n";
    ans += 10;
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
  return 0;
}
