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: [811, 342, 23, 369, 717]
Example Output: [811, 23]

Example Input: [384, 742, 392, 399, 227, 325, 653, 131, 690]
Example Output: [227, 653, 131]

Example Input: [876, 137, 651, 227, 229, 405, 926, 359, 514, 293, 784, 31]
Example Output:
[137, 227, 229, 359, 293, 31]