# たとえばN=4は、[-3, -2, -1, 0, 1, 2, 3, 4]で作れる、つまり2以上はすべて可能 A = int(input()) if A == 1: print('NO') else: print('YES')