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