public class A5 {
public static void main(String[] args) {
// TODO Auto-generated method stub
for (int i= 101;i<=2021;i++){
for(int j=0;j%10==0;j++){
if (((i%4 == 0) && (i%100!=0))||((i% 400==0)&&(i%100==0)));{
System.out.print(i+" ");
System.out.print("\n闰年数目:"+j);
}
}
}
}
}