inputer = int(input()) if inputer ==0 or inputer ==4 or inputer == 10: print("Yes") else: print("No")