import java.util.*;
public class LeapYear {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
System.out.println("Enter the year");
int n = sc.nextInt();
if((n%400 == 0) ||((n%4 == 0) && (n%100 != 0))){
System.out.println("The given year : "+" "+n+" "+ "is a leap year");
} else{
System.out.println("The given year :"+" "+n+" "+ "is not a leap year");
}
}
}