#include<iostream> using namespace std; int main() { int n,i; cin>>n; for(i=0;i<=10;i=i+2) { if(n%2==1) printf("%d\n",n+i); if(n%2==0) printf("%d\n",n+i+1); } return 0; }