#include<bits/stdc++.h>
using namespace std;
int main() {
	int n;
	cin >> n;
	for (int i = 0; i < 5; i++) {
		printf("%d ", n++);
	}
	return 0;
}