#include<stdio.h>
int main()
{
int number;
int question;
scanf("%d",&question);
for(number=2;number<question;number++)
{
int ans=1;
int a;
for(a=2;a<number;a++){
if(number%a0){
ans=0;
break;
}
}
if(ans1){
printf("%d “,number);
}
}
printf(”\n");
return 0;
}