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