print("NO" if input() == "1" else "YES")