ABC = input().split()
print("Yes" if len(set(ABC)) == 2 else "No") ABC = input().split() ABC input().split() ().split () input split print("Yes" if len(set(ABC)) == 2 else "No") print "Yes" if len(set(ABC)) == 2 else "No" len(set(ABC)) == 2 len(set(ABC)) len set(ABC) set ABC 2 "Yes" "No" ABC = input().split() input().split() ABC
ABC = input().split()
print("Yes" if len(set(ABC)) == 2 else "No")