year = int(input()) if year%4 == 0: isCheacked = 1 if year%100 == 0: if year%400 == 0: isCheacked = 1 else: isCheacked = 0 else: isCheacked = 0 if isCheacked == 1: print("Yes") else: print("No")