x = int(input())

ans = "No"
for y in [0, 2, 5]:
    if x == 2 * y:
        ans = "Yes"

print(ans)