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: [509, 947, 32, 105, 458, 629, 920, 137, 967]

A: [509, 947, 137, 967]
****
Q: [985, 173]

A: [173]
****
Q: [651, 347, 296, 127, 157, 230, 929, 279, 182, 877, 87, 66, 983, 85, 397, 832, 911, 386, 7, 97]

A:
[347, 127, 157, 929, 877, 983, 397, 911, 7, 97]
****