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.

Example Input: [887, 721, 523, 41, 769, 109, 327, 129, 313]
Example Output: [887, 523, 41, 769, 109, 313]

Example Input: [550, 654, 463, 59, 163, 323, 574, 280, 179]
Example Output: [463, 59, 163, 179]

Example Input: [29, 510, 305, 547, 986, 133, 908, 107, 344, 487]
Example Output:
[29, 547, 107, 487]