Module A
    Sub Main(ByVal args() As String)
      dim arr() as string = split(console.readline())
      dim a,b,c,chk as integer
      a=arr(0):b=arr(1):c=arr(2):chk=0
      if arr(0)=arr(1) then chk+=1
      if arr(1)=arr(2) then chk+=1
      if arr(2)=arr(0) then chk+=1
      Console.writeline(if(chk=1,"Yes","No"))
    End Sub
End Module