Skip to content
Snippets Groups Projects
6.py 205 B
Newer Older
hacker717's avatar
hacker717 committed
year = int(input())
if year % 400 == 0:
    print("YES")
else:
    if year % 100 == 0:
        print("NO")
    else:
        if year % 4 == 0:
            print("YES")
        else:
            print("NO")