A = int(input) if A==1: print('NO') else: print('YES')