Given a string ,find how many of its substring has exactly N 'Y' characters
Input will contain many test cases (<=10).,each on a new line
A test case will contain a string of length <=100000 , and the value of N(<=100000), seperated by space
String will contain characters A-Z only.
For Each test case,print number of substring having N 'Y' characters
Setter : Jayant Mukherji