728x90

import sys
w = int(sys.stdin.readline())
if w % 2 == 0 and w != 2: #and 이후의 식 => 2를 절반으로 나누면 홀수인 1, 1이 나오기 때문
print("YES")
728x90
import sys
w = int(sys.stdin.readline())
if w % 2 == 0 and w != 2: #and 이후의 식 => 2를 절반으로 나누면 홀수인 1, 1이 나오기 때문
print("YES")