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: [552, 271, 28, 84, 296, 953, 48, 28, 641, 926, 176, 719, 150, 699]

A: [271, 953, 641, 719]
****
Q: [761, 304, 233, 399, 584, 837, 593, 291, 157, 713, 566]

A:
[761, 233, 593, 157]
****