Imports System

Public Class Program


    Public Shared Sub Main(args As String())

        Dim input() As String = Console.ReadLine.Split(" ")
        If input(0) = input(1) Then

            If Not (input(0) = input(2)) Then
                Console.WriteLine("Yes")
            Else
                Console.WriteLine("No")
            End If

        ElseIf input(0) = input(2) Then
            Console.WriteLine("Yes")

        ElseIf input(1) = input(2) Then
            Console.WriteLine("Yes")

        Else
            Console.WriteLine("No")
        End If


    End Sub



End Class
