2 test case not passed! in chewbacca and number

sir ,please see my code in collaboration mode ,my test cases are geting failed!

where is your code? can you please share it?
the most probable error in this question is a corner case where all the digits are 9, or first digit is 9.(solution: first 9 should be untouched)
check your code for following examples:(left side is input, right side is expected output)

  1. 999 ----> 900
  2. 987 -----> 912
  3. 9 -------> 9

thanks

thanks a lot ,sir actually i was understanding question wrong.

please resolve and rate it.
thanks