#include <bits/stdc++.h>
using namespace std;
vector<bool> gen_sosuu(vector<bool> sosuu) {
  int size = sosuu.size();
  for (long long int i = 0; i < (int)(size); i++) {
    sosuu[i] = true;
  }
  sosuu[0] = false;
  sosuu[1] = false;
  sosuu[2] = true;
  for (long long int i = (2); i < (int)(sqrt(size) + 1); i++) {
    if (sosuu[i] == false) continue;
    for (int j = 2; i * j < size; j++) {
      sosuu[i * j] = false;
    }
  }
  return sosuu;
}
int k;
int ans[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 19, 29, 39, 49, 59, 69, 79, 89, 99};
int main() {
  cin >> k;
  for (long long int i = 0; i < (int)(k); i++) {
    cout << ans[i] << endl;
  }
}
