Perf 2,3 test cases are failing

These 2 test cases are failing.need hint

Check for this test case

111111111111

Output:

111111111115
111111111100

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.