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: [758, 258, 991, 34, 127, 59, 301, 547, 37, 659, 455, 457, 707, 557, 79, 233, 661, 541, 415, 131]
Example Output: [991, 127, 59, 547, 37, 659, 457, 557, 79, 233, 661, 541, 131]

Example Input: [89, 877, 331, 995, 550, 59, 30, 127]
Example Output:
[89, 877, 331, 59, 127]