Skip to content
Snippets Groups Projects
5.py 187 B
Newer Older
hacker717's avatar
hacker717 committed
c = 0

for _ in range(int(input())):
    s = input()
    arr = []

    while s != "ВСЁ":
        arr.append(s)
        s = input()

    if "зайка" in arr:
        c += 1

print(c)