X = int(input()) d = [0,4,10] if X in d: print("Yes") else: print("No")