The magician Vasya
Mr. Vasya is a famous magician from Irshava. You may not know that people in Irshava often use the word
Input Specification
The first line contains the filler word
The second line contains a sentence consisting only of small Latin letters
Output Specification
Print the number of the given filler word occurrences in the sentence.
Sample Input 1
Copy
haha
ahahahahashes
Sample Output 1
Copy
3
Sample Input 2
Copy
kek
kekekeklolkekekek
Sample Output 2
Copy
6
Comments