Test cases 2 and 7 are giving WA. Link to my Code : https://ide.codingblocks.com/s/206118 Please help