2 lines
130 B
Python
2 lines
130 B
Python
print(sum(map(lambda x:6<len(''.join(sorted(map(lambda y:y[:2].replace('ci','')[:1],x.split())))),open(0).read().split('\n'*2))))
|