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