print('YNEOS'[int(input())%2::2])