def main(): A = int(input()) if A == 1: print('NO') else: print('YES') if __name__ == '__main__': main()