Потеха Кузи
a = list(map(int, input().split()))
temp = set()
for x in a:
if x not in temp:
temp.add(x)
print("NO")
else:
print("YES")
INFO
a = list(map(int, input().split()))
temp = set()
for x in a:
if x not in temp:
temp.add(x)
print("NO")
else:
print("YES")