#!/usr/bin/env python3
a = list(map(int, input().split()))
if len(a) - len(set(a)) == 1:
    print('Yes')
else:
    print('No') a = list(map(int, input().split())) a list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split if len(a) - len(set(a)) == 1:
    print('Yes')
else:
    print('No') len(a) - len(set(a)) == 1 len(a) - len(set(a)) len(a) len a len(set(a)) len set(a) set a 1 print('Yes') print 'Yes' print('No') print 'No' a = list(map(int, input().split())) list(map(int, input().split())) a
#!/usr/bin/env python3
a = list(map(int, input().split()))
if len(a) - len(set(a)) == 1:
    print('Yes')
else:
    print('No')