Option Explicit On
Option Strict On

Module Module1

    Sub Main()

        Dim tmp As String() = Split(Console.ReadLine(), " ")

        If tmp(0) = tmp(1) Then
            If tmp(0) <> tmp(2) Then
                Console.WriteLine("Yes")
            Else
                Console.WriteLine("No")
            End If
        Else
            If tmp(0) = tmp(2) Or tmp(1) = tmp(2) Then
                Console.WriteLine("Yes")
            Else
                Console.WriteLine("No")
            End If
        End If


    End Sub

End Module

