l=input("").split(" ")
a=int(l[0])
b=int(l[1])
c=int(l[2])
if(a==b and a==c):
    print("No")
elif((a-b)*(b-c)*(c-a)==0):
    print("Yes")
else:
    print("No") l=input("").split(" ") l input("").split(" ") ("").split ("") input "" split " " a=int(l[0]) a int(l[0]) int l[0] l 0 b=int(l[1]) b int(l[1]) int l[1] l 1 c=int(l[2]) c int(l[2]) int l[2] l 2 if(a==b and a==c):
    print("No")
elif((a-b)*(b-c)*(c-a)==0):
    print("Yes")
else:
    print("No") a==b and a==c a==b a b a==c a c print("No") print "No" elif((a-b)*(b-c)*(c-a)==0):
    print("Yes") (a-b)*(b-c)*(c-a)==0 (a-b)*(b-c)*(c-a) (a-b)*(b-c) a-b a b b-c b c c-a c a 0 print("Yes") print "Yes" print("No") print "No" b=int(l[1]) int(l[1]) b l=input("").split(" ") input("").split(" ") l c=int(l[2]) int(l[2]) c a=int(l[0]) int(l[0]) a
l=input("").split(" ")
a=int(l[0])
b=int(l[1])
c=int(l[2])
if(a==b and a==c):
    print("No")
elif((a-b)*(b-c)*(c-a)==0):
    print("Yes")
else:
    print("No")