object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val one, two, three = sc.nextInt
  var ans:String = "No"
  
  if (one==two) {
    ans = "Yes"
  } else if (one==three) {
    ans = "Yes"
  } else if (two==three) {
    ans = "Yes"
  } else {
    ans = "No"
  }
  println(ans)
}