You are viewing a single comment's thread. Return to all comments →
import re content = '' for _ in range(int(input())): content += input() + ' ' for _ in range(int(input())): print(len(re.findall(f'\\b{input()[:-2]}[sz]e\\b', content)))
Seems like cookies are disabled on this browser, please enable them to open this website
The British and American Style of Spelling
You are viewing a single comment's thread. Return to all comments →