fun main (arg: Array<String>){
	var (A, B, C) = readLine()!!.split(" ").map(String::toInt)
	if(A == B){
		if(A == C){
			println("No")
		}else{
			println("Yes")
		}
	}else if(B == C){
		if(A == C){
			println("No")
		}else{
			println("Yes")
		}
	}else if(A == C){
		if(B == C){
			println("No")
		}else{
			println("Yes")
		}
	}else{
		println("No")
	}
}