The problem is from codeforces: http://www.codeforces.com/problemset/problem/4/A
The problem is so easy that you might even falls into the trap (you might think judging if it is even or odd). 2 is even but the answer is NO.
The python solution is very straightforward:
n = int(raw_input())
if (n <= 2):
print "NO"
elif (n % 2 == 0):
print "YES"
else:
print "NO"
–EOF (The Ultimate Computing & Technology Blog) —
Last Post: Codeforces: B. Sum of Digits
Next Post: Codeforces: C. Cd and pwd commands