Https://ide.codingblocks.com/s/295740

One test case is failing. Can someone tell me where my code is going wrong.