#D1834. Check answers
Check answers
Check answers
problem
AOR Ika is studying to pass the test.
AOR Ika-chan solved the question. After that, round the solved problem according to the following procedure.
- Check the correctness of the answer.
- If the answer is correct, write a circle mark, and if it is incorrect, write a cross mark on the answer sheet.
AOR Ika faints because of the fear of failing the test the moment she finds that the answer is wrong for in a row. And no further rounding is possible.
Syncope occurs between steps and .
You will be given an integer , which represents the number of questions AOR Ika has solved, and a string , which is a length and represents the correctness of the answer. The string consists of'o'and'x', with'o' indicating the correct answer and'x' indicating the incorrect answer. The letter indicates the correctness of the question, and AOR Ika-chan rounds the question in order.
Please output the number of questions that AOR Ika-chan can write the correctness.
output
Output the number of questions that AOR Ika-chan could write in the line. Also, output a line break at the end.
Example
Input
3 oxx
Output
2
inputFormat
outputFormat
output the number of questions that AOR Ika-chan can write the correctness.
output
Output the number of questions that AOR Ika-chan could write in the line. Also, output a line break at the end.
Example
Input
3 oxx
Output
2
样例
3
oxx
2