a, b, c = map(int, input().split())
res = 'No'
if a == b and a != c: res = 'Yes'
if a == c and a != b: res = 'Yes'
if c == b and a != c: res = 'Yes'
print(res) a, b, c = map(int, input().split()) a map(int, input().split()) map int input().split() ().split () input split b c res = 'No' res 'No' if a == b and a != c: res = 'Yes' a == b and a != c a == b a b a != c a c if a == c and a != b: res = 'Yes' a == c and a != b a == c a c a != b a b if c == b and a != c: res = 'Yes' c == b and a != c c == b c b a != c a c print(res) print res res = 'No' 'No' res c = map(int, input().split()) map(int, input().split()) c b, c = map(int, input().split()) map(int, input().split()) b a, b, c = map(int, input().split()) map(int, input().split()) a
a, b, c = map(int, input().split())
res = 'No'
if a == b and a != c: res = 'Yes'
if a == c and a != b: res = 'Yes'
if c == b and a != c: res = 'Yes'
print(res)