#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n, i;
  cin >> n;
  if (n == 1)
    cout << 1 << endl;
  else if (n == 2)
    cout << 2 << " " << 3 << endl;
  else {
    for (i = n - 1; i < 2 * n; i++) {
      if (i != (2 * n - 2))
        cout << i << " ";
      else
        continue;
    }
  }
}
