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.

Q: [359, 234, 961, 995, 394, 615, 649, 538, 49, 585, 60, 388, 659, 372, 739, 962, 466, 131]

A: [359, 659, 739, 131]
****
Q: [938, 379, 803, 942, 116, 27, 827, 356, 149, 466, 61, 13, 257, 623, 929, 694, 60, 163, 67]

A: [379, 827, 149, 61, 13, 257, 929, 163, 67]
****
Q: [549, 652, 462, 202, 501, 98, 397, 841, 473, 166, 8, 144, 2, 287, 47, 272, 886, 329, 630, 670]

A:
[397, 2, 47]
****