include [HTML_REMOVED]
using namespace std;
define ll long long
int main()
{
ll a,b;
cin>>a;
if(a%2==1)
{
cout<<a<<endl;
for(b=1;b<=5;b++)
{
a=a+2;
cout<<a<<endl;
}
}
if(a%2==0)
{
a=a+1;
cout<<a<<endl;
for(b=1;b<=5;b++)
{
a=a+2;
cout<<a<<endl;
}
}
return 0;
}