# Write a function in Python - Hacker Rank Solution
def is_leap(year):
    leap = False
    
    # Write your logic here
    # Write a function in Python - Hacker Rank Solution START
    if year%400==0 :
        leap = True
    elif year%4 == 0 and year%100 != 0:
        leap = True
    return leap
    # Write a function in Python - Hacker Rank Solution END
year = int()
print (is_leap(year))