input_line = list(map(int, input().split(' ')))
result = False
for x in list(set(input_line)):
    if input_line.count(x) == 2:
        result = True
if result:
    print('Yes')
else:
    print('No') input_line = list(map(int, input().split(' '))) input_line list(map(int, input().split(' '))) list map(int, input().split(' ')) map int input().split(' ') ().split () input split ' ' result = False result False for x in list(set(input_line)):
    if input_line.count(x) == 2:
        result = True x list(set(input_line)) list set(input_line) set input_line if input_line.count(x) == 2:
        result = True input_line.count(x) == 2 input_line.count(x) input_line.count input_line count x 2 result = True result True if result:
    print('Yes')
else:
    print('No') result print('Yes') print 'Yes' print('No') print 'No' input_line = list(map(int, input().split(' '))) list(map(int, input().split(' '))) input_line result = False False result result = True True result
input_line = list(map(int, input().split(' ')))
result = False
for x in list(set(input_line)):
    if input_line.count(x) == 2:
        result = True
if result:
    print('Yes')
else:
    print('No')