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