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: [591, 772, 276, 23, 995, 217, 719, 31, 776, 155, 857, 642]
Example Output: [23, 719, 31, 857]

Example Input: [322, 149, 401, 314, 827, 919, 493, 976, 108, 962, 439, 351, 499, 151, 297]
Example Output: [149, 401, 827, 919, 439, 499, 151]

Example Input: [354, 307, 433, 587, 173, 820, 613, 67, 163, 43, 375, 245, 552, 401, 746, 995]
Example Output:
[307, 433, 587, 173, 613, 67, 163, 43, 401]