C - Speed Reading

Languages: C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
5 4 cuidado ahi viene corriendo messi y ese goooooooool msesi
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
4
--- Showing first 30 lines (click "Copy" to get full content) ---
Input
6 3 goooal goooal esto esta muy facil etsa etsos goooal
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
2
--- Showing first 30 lines (click "Copy" to get full content) ---
Input
3 2 calor colar como cmoo calor
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
1
--- Showing first 30 lines (click "Copy" to get full content) ---