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