けんき says to YSITD
parseInt(readline())%2===0 ? print('YES') : print('NO');