Module Module2
    Sub main()
        Dim temp As String() = Console.ReadLine.Split(" "c)
        Dim A As Integer = Integer.Parse(temp(0))
        Dim B As Integer = Integer.Parse(temp(1))
        Dim C As Integer = Integer.Parse(temp(2))
        Dim ret As String = "No"

        If A = B AndAlso A <> C Then
            ret = "Yes"
        ElseIf A = C AndAlso A <> B Then
            ret = "Yes"
        ElseIf B = C AndAlso A <> B Then
            ret = "Yes"
        End If

        Console.WriteLine(ret)

    End Sub
End Module
