class leapyear
{
public static void main(String args[])
{
int y;
String x;
Scanner sc=new Scanner(System.in);
System.out.println("Enter any year");
y=sc.nextInt();
x=(y%4==0 && y%100!=0 || y%400==0)?"LeapYear":"Not Leap Year";
System.out.println(x);
}
}