A - Naebbirac’s Phrases

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

Input

Output

Sample test(s)

Input
3 Caribbean Naebbirac Welcome_Contestants We_are_fine_here_:) Bienvenidos_Concursantes Estamos_muy_bien_aqui_:)
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
6 17 23
--- Showing first 30 lines (click "Copy" to get full content) ---