Boston numbers Problem

Getting wrong answer for 2 testcases :-

@aiman.mumtaz
in the question, you also have to the sum of digits of primes as well.