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