A, B, C = map(int, input().split())
l = [A, B, C]
if len(set(l)) == 2:
    print("Yes")
else:
    print("No") A, B, C = map(int, input().split()) A map(int, input().split()) map int input().split() ().split () input split B C l = [A, B, C] l [A, B, C] A B C if len(set(l)) == 2:
    print("Yes")
else:
    print("No") len(set(l)) == 2 len(set(l)) len set(l) set l 2 print("Yes") print "Yes" print("No") print "No" A, B, C = map(int, input().split()) map(int, input().split()) A B, C = map(int, input().split()) map(int, input().split()) B C = map(int, input().split()) map(int, input().split()) C l = [A, B, C] [A, B, C] l
A, B, C = map(int, input().split())
l = [A, B, C]
if len(set(l)) == 2:
    print("Yes")
else:
    print("No")
