Run time error(Chewbacca and number)

two of my test cases are showing run time error and i cannot figure out why

@khushi_balodi,
Use long everywhere in your code instead of int.

Also:
Input:
93
Your Output:
3
Correct Output:
93

@khushi_balodi,
https://ide.codingblocks.com/s/250616 here is the corrected code from your last submission.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.