#include <stdio.h>
int main(){
int year;
for(year=2000;year<=2500;year=year+1){
if (year%4!=0){
printf("%d不是闰年",year);
}else if(year%100!=0){
printf("%d是闰年",year);
}else if(year%400!=0){
printf("%d不是闰年",year);
}else printf("%d是闰年",year);
}
}