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: [251, 701, 293, 881, 857, 449, 46, 406, 229, 907, 529, 137, 283, 458]

A: [251, 701, 293, 881, 857, 449, 229, 907, 137, 283]
****
Q: [853, 367, 659, 139, 563]

A: [853, 367, 659, 139, 563]
****
Q: [337, 66, 366, 964, 917, 726, 577, 562, 431, 557, 589, 967, 151, 211, 236, 249, 557]

A:
[337, 577, 431, 557, 967, 151, 211, 557]
****