A = list(map(int,input().split()))
newA = sorted(A)

if newA[0]==newA[1]==newA[2]:
    print("No")
elif newA[0]  == newA[1] or newA[1] == newA[2]:
    print("Yes")
else:
    print("No") A = list(map(int,input().split())) A list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split newA = sorted(A) newA sorted(A) sorted A if newA[0]==newA[1]==newA[2]:
    print("No")
elif newA[0]  == newA[1] or newA[1] == newA[2]:
    print("Yes")
else:
    print("No") newA[0]==newA[1]==newA[2] newA[0]==newA[1] newA[0] newA 0 newA[1] newA 1 newA[2] newA 2 print("No") print "No" elif newA[0]  == newA[1] or newA[1] == newA[2]:
    print("Yes") newA[0]  == newA[1] or newA[1] == newA[2] newA[0]  == newA[1] newA[0] newA 0 newA[1] newA 1 newA[1] == newA[2] newA[1] newA 1 newA[2] newA 2 print("Yes") print "Yes" print("No") print "No" A = list(map(int,input().split())) list(map(int,input().split())) A newA = sorted(A) sorted(A) newA
A = list(map(int,input().split()))
newA = sorted(A)

if newA[0]==newA[1]==newA[2]:
    print("No")
elif newA[0]  == newA[1] or newA[1] == newA[2]:
    print("Yes")
else:
    print("No")