Wrong answer in 2 test case out of 9


please check my code

7/9 test passed. 2 remaining