def yn(hantei, yes='Yes', no='No'): print(yes if hantei else no) def p(*args): print(*args) yn(int(input())%2==0,'YES','NO')