TASK DEFINITION: In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
PROBLEM: [947, 445, 521, 643]

SOLUTION: [947, 521, 643]

PROBLEM: [74, 663, 173, 647, 787, 769, 748, 158, 933]

SOLUTION: [173, 647, 787, 769]

PROBLEM: [131, 624, 288, 567, 607, 288, 331, 770, 41, 317, 952, 71, 67, 827, 973, 389]

SOLUTION:
[131, 607, 331, 41, 317, 71, 67, 827, 389]