Input examples : poppop pop createcreate create
Scissors Harry really likes cutting with scissors. Mary wrote a long string of lowercase Latin letters on a piece of paper, and Harry wants to cut a certain word from this line with scissors. How many times will he be able to do this? Input: A string of length N characters, where 1<N<1000; space; word to cut. Output: Number of words cut out. Example: Input Output portport port 2 proprop prop 1