#include <iostream>
using namespace std;
int main()
{
int x;
cin >> x ;
if (x % 2 == 1)
{
for(int i = 1; i <= 5; i++ ,x +=2) cout << x <<endl;
}
else
{
for(int i = 1; i <= 5; i++ ,x +=2) cout << x + 1 <<endl;
}
}