def main(): y = int(input()) if y % 4 == 0: if y % 100 == 0: if y % 100 == 0: print("Yes") else: print("No") else: print("Yes") else: print("No") if __name__ =='__main__': main()