arr = list(map(int, input().split()))
arr.sort()
if (arr[0] == arr[1]) and (arr[2] != arr[1]):
	print("Yes")
elif (arr[1] == arr[2]) and (arr[0] != arr[1]):
	print("Yes")
else:
	print("No") arr = list(map(int, input().split())) arr list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split arr.sort() arr.sort arr sort if (arr[0] == arr[1]) and (arr[2] != arr[1]):
	print("Yes")
elif (arr[1] == arr[2]) and (arr[0] != arr[1]):
	print("Yes")
else:
	print("No") (arr[0] == arr[1]) and (arr[2] != arr[1]) arr[0] == arr[1] arr[0] arr 0 arr[1] arr 1 arr[2] != arr[1] arr[2] arr 2 arr[1] arr 1 print("Yes") print "Yes" elif (arr[1] == arr[2]) and (arr[0] != arr[1]):
	print("Yes") (arr[1] == arr[2]) and (arr[0] != arr[1]) arr[1] == arr[2] arr[1] arr 1 arr[2] arr 2 arr[0] != arr[1] arr[0] arr 0 arr[1] arr 1 print("Yes") print "Yes" print("No") print "No" arr = list(map(int, input().split())) list(map(int, input().split())) arr
arr = list(map(int, input().split()))
arr.sort()
if (arr[0] == arr[1]) and (arr[2] != arr[1]):
	print("Yes")
elif (arr[1] == arr[2]) and (arr[0] != arr[1]):
	print("Yes")
else:
	print("No")