n=map(int,input()) a=n%2 if a == 0: print("YES") else: print("NO")