transform the expression

CodeChef: Practical coding for everyone see this is my code for3rd test case thier is run time error can any body fix mah code