only one testcase is failing. Code : https://ide.codingblocks.com/s/205789
@Chirag-Jain-1414278322030453, Try running your code on this,
Input: a