#include <bits/stdc++.h>
using namespace std;
long long ans, n, a[100000005], k, t = 1;
int main() {
  cin >> k;
  if (k < 10) {
    for (int i = 1; i <= k; i++) cout << i << endl;
    return 0;
  }
  for (int i = 1; i < 10; i++) cout << i << endl;
  for (int i = 19; i <= 9 + 10 * (k - 10); i += 10) cout << i << endl;
  return 0;
}
