#include<stdio.h>
void main()
{
int y=2000;
while(y<=2500)
{
//scanf("%d",&y);
if(y%4!=0)
{
printf("%d不是闰年\n",y);
}
else if(y%4==0&&y%100!=0)printf("%d是闰年\n",y);
else if(y%100==0&&y%400==0)
{
printf("%d是闰年\n",y);
}
else
{
printf("%d不是闰年\n",y);
}
y++;
}
return;
}