Unable to pass the first test case

can you please tell the test case i am unable to pass or what seems to be wrong with the code

Save your code on ide.codingblocks.com and then share its link.

here you go , have a look at it

@pradyumn25jain For a single character as input say b, you code does not given any output. Check for this case and try to correct it.

yeah got it thanks a lot