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