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