Chewbecca and number

sir why it fail in two test case

@YASHMATHURIA123
input 999 answer 900
your answer 000
check it

sir now it showing first test case fail

@YASHMATHURIA123 bro you have to change the first digit only if its not equal 9
899 ans 100
your ans 800
check it