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