#include<stdio.h>
int main()
{
int x=1;
int cot=0;//素数的个数
while(cot<=50){
int i;
int count=1;
for(i=2;i<x;i++){
if(x%i==0){
count=0;
break;
}
}
if(count==1){
cot++;
printf("%d\t",x);//输出数字的对齐
if(cot%5==0){
printf("\n");//输出数字的换行
}
}
x++;
}
return 0;
}