Imports System

Class A
	Shared Sub Main
		Dim a,b,c As Integer
		Dim inputs() As String
		inputs = Console.ReadLine().Split()
		a = Int32.Parse(inputs(0))
		b = Int32.Parse(inputs(1))
		c = Int32.Parse(inputs(2))
		
		Dim ans As String
		If 	(a = b AndAlso b <> c ) OrElse _
			(b = c AndAlso c <> a ) OrElse _
			(c = a AndAlso a <> b )
			ans = "Yes"
		Else
			ans = "No"
		End If
		Console.WriteLine(ans)
	End Sub
End Class
