Pratham Software interview question

Coding question- Sum of prime numbers present in an array.