a = int(input("Enter the year:"))
print(a,"is leap year") if a%4 == 0 and a%400 == 0  else print(a,"is not a leap year")

a = int(input("Enter the year:"))
print(a,"is leap year") if a%4 == 0 and a%400 == 0  else print(a,"is not a leap year")
