@ -0,0 +1 @@
print(sum(map(lambda x:len(set(x)-set('\n')),open(0).read().split('\n'*2))))
print(sum(map(lambda x:sum((f:=x.count)(c)==(t:=f('\n')+1)for c in x)//t,open(0).read()[:-1].split('\n'*2))))
The note is not visible to the blocked user.