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: [333, 661, 946, 587, 112, 677, 463, 537]

A: [661, 587, 677, 463]
****
Q: [236, 449, 523, 20, 640, 544, 35, 613, 811, 521]

A: [449, 523, 613, 811, 521]
****
Q: [650, 227, 647, 251, 722, 151, 547, 179, 563, 351, 645, 704, 337]

A:
[227, 647, 251, 151, 547, 179, 563, 337]
****