fun main(args: Array<String>) {

    val tokenList = readLine()?.split(" ").orEmpty()
    val numA = tokenList[0].toInt()
    val numB = tokenList[1].toInt()
    val numC = tokenList[2].toInt()

    if(numA == numB && numB == numC) {
        println("No")
    } else if(numA != numB && numB != numC && numC != numA){
        println("No")
    } else {
        println("Yes")
    }

}