Redundant parenthesis

not passes any test cases can u plz have a look why it happens