from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
    if i==2:
        print("Yes")
        exit()
print("No") from collections import Counter a=list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split dic=Counter(a) dic Counter(a) Counter a for i in dic.values():
    if i==2:
        print("Yes")
        exit() i dic.values() dic.values dic values if i==2:
        print("Yes")
        exit() i==2 i 2 print("Yes") print "Yes" exit() exit print("No") print "No" dic=Counter(a) Counter(a) dic a=list(map(int,input().split())) list(map(int,input().split())) a
from collections import Counter
a=list(map(int,input().split()))
dic=Counter(a)
for i in dic.values():
    if i==2:
        print("Yes")
        exit()
print("No")
