Boston number getting wa

Any hint why my solution is failing at two test cases (2nd and 3rd) .

@shivampandey9599
You have to take the sum of digits of prime factors as well.
and also check the digit sum for prime factors for n = 22

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.