[READ-ONLY] Mirror of https://github.com/shuuji3/competitive-programming. 馃洬 Codes submitted to competitive programming platforms
aizu-online-jadge aoj atcoder hackerrank leetcode
0

Configure Feed

Select the types of activity you want to include in your feed.

1word = input() 2 3count = 0 4while True: 5 line = input() 6 if line == 'END_OF_TEXT': 7 break 8 count += len(list(filter(lambda s: s.lower() == word, line.split()))) 9 10print(count)