n=int(input()) if n % 4 == 0 and n % 100 or n % 400 == 0: print(str(n)+" Yes") else: print(str(n)+" No")