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