a=int(input()) if a%4==0 and a%100!=0: print("{} Yes".format(a)) else: if a%400==0: print("{} Yes".format(a)) else: print("{} No".format(a))