Sponsored
Use these hints if you're stuck. Try solving on your own first.
How many digits will the resulting number have at most?
The resulting number will have either one or two digits. Try to find when each case is possible.
Solve with full IDE support and test cases