a = sorted(map(int, input().split()))
print("Yes" if (a[0] == a[1] or a[1] == a[2] ) and a[0] != a[2] else "No") a = sorted(map(int, input().split())) a sorted(map(int, input().split())) sorted map(int, input().split()) map int input().split() ().split () input split print("Yes" if (a[0] == a[1] or a[1] == a[2] ) and a[0] != a[2] else "No") print "Yes" if (a[0] == a[1] or a[1] == a[2] ) and a[0] != a[2] else "No" (a[0] == a[1] or a[1] == a[2] ) and a[0] != a[2] a[0] == a[1] or a[1] == a[2] a[0] == a[1] a[0] a 0 a[1] a 1 a[1] == a[2] a[1] a 1 a[2] a 2 a[0] != a[2] a[0] a 0 a[2] a 2 "Yes" "No" a = sorted(map(int, input().split())) sorted(map(int, input().split())) a
a = sorted(map(int, input().split()))
print("Yes" if (a[0] == a[1] or a[1] == a[2] ) and a[0] != a[2] else "No")