from collections import defaultdict
d = defaultdict(int)

N,M,L = map(int,input().split())
d[N] += 1
d[M] += 1
d[L] += 1
print(("No","Yes")[len(d)==2]) from collections import defaultdict d = defaultdict(int) d defaultdict(int) defaultdict int N,M,L = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split M L d[N] += 1 d[N] d N 1 d[M] += 1 d[M] d M 1 d[L] += 1 d[L] d L 1 print(("No","Yes")[len(d)==2]) print ("No","Yes")[len(d)==2] ("No","Yes") "No" "Yes" len(d)==2 len(d) len d 2 M,L = map(int,input().split()) map(int,input().split()) M d = defaultdict(int) defaultdict(int) d N,M,L = map(int,input().split()) map(int,input().split()) N L = map(int,input().split()) map(int,input().split()) L
from collections import defaultdict
d = defaultdict(int)

N,M,L = map(int,input().split())
d[N] += 1
d[M] += 1
d[L] += 1
print(("No","Yes")[len(d)==2])
