Aversan Interview Question

Output prime number in an array