try:
    year=int(input("Enter year"))
    
    if (((year % 4 == 0) and (year % 100 != 0)) or (year % 400 == 0)):
        print("{0} is a leap year".format(year))
    else:
        print("{0} is not a leap year".format(year))
except:
    print("Plz enter valid year") 