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