Ответсообщение недоступно
times = [int(input()) for _ in range(2)]
names = [str(input()) for __ in range(times[0] + times[1])]
names_without_repeat = set(names)
for i in names:
if names.count(i) > 1:
try:
names_without_repeat.remove(i)
except KeyError:
continue
if names_without_repeat == set():
print('Таких нет')
else:
print(len(names_without_repeat))