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