using System;
public class Program
{
public bool leapYear(int year) {
//year = Convert.ToInt32(Console.ReadLine());
if (year%4 == 0) {
if (year%100 == 0) {
if (year%400 == 0) {
return true;
}
else return false;
else return true;
public static void Main(string[] args)
int year = Convert.ToInt32(Console.ReadLine());
//leapYear objj = new leapYear();
Program objj = new Program();
if (objj.leapYear(year))
Console.WriteLine("Leap Year");
else Console.WriteLine("NOT a Leap Year");