public static void main(String[] args) {
int year = 2005;
if ((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0))){
System.out.println(year+" leap year");
}else {
System.out.println(year+" not a leap year");
}
}