Dount in problem statement

heyy, in this question only lowercase strings are accepted or the input can be of any type?

hey @Aparna, only lowercase string is there

can you please check my code nad tell for what test cases i m getting wrong answers

this is the link of code:https://ide.codingblocks.com/s/167868

hey @Aparna, your code is failing below testcases:
input- sskkkkkkwaerrtss
Expected output: s2k6w1a1e1r2t1s2
Your output: s4k6w1a1e1r2t1