apple art banana avocado a
3
words = input().split() ch = input().strip() count = 0 for word in words: if word[0] == ch: count += 1 print(count)