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: [887, 721, 523, 41, 769, 109, 327, 129, 313]

A: [887, 523, 41, 769, 109, 313]
****
Q: [652, 409, 683, 888, 751, 401, 859, 227]

A: [409, 683, 751, 401, 859, 227]
****
Q: [430, 73, 619, 411, 600, 363, 73, 149, 23, 76, 725, 338, 527]

A:
[73, 619, 73, 149, 23]
****