fun main(args : Array<String>) {
    val (numberA,numberB,numberC) = readLine()!!.split(" ").map { it.toInt() }
    val value1 = numberA * numberB * numberC
    if (value1 == numberA * numberA * numberC
        && value1 == numberB * numberB * numberB
        && value1 == numberC * numberC * numberC){
        println("No")
    }else if (numberA == numberB || numberA == numberC || numberB == numberC){
        println("Yes")
    }else {
        println("No")
    }
}