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: [859, 467, 748, 245, 2, 645, 243, 659, 625]

A: [859, 467, 2, 659]
****
Q: [519, 638, 433, 401]

A: [433, 401]
****
Q: [167, 959, 177, 41, 751, 309, 184, 572, 197, 946, 53, 864, 55, 20, 865, 523, 571]

A:
[167, 41, 751, 197, 53, 523, 571]
****