package com.play;
public class LeapYear {
public static void main(String[] args){
int year,count=0;
for(year=2000; year<=2100; year++){
if(year%4==0&&year%100!=0 || year%400 ==0){
count++;
System.out.print(year);
System.out.print("\t");
if(count%8==0)
System.out.print("\n");
}
}
}
}