#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  vector<int> ans{1, 2, 3, 4, 5, 6, 7, 8, 9};
  if (k > 9) {
    for (int i = (8); i < (k); i++) {
      ans.push_back(ans[i] + 10);
    }
  }
  cout << ans[0];
  for (int i = (1); i < (k); i++) {
    cout << " " << ans[i];
  }
  cout << endl;
}
