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: [65, 211, 397, 167, 397, 213]
Example Output: [211, 397, 167, 397]

Example Input: [652, 797, 31, 67, 22, 818, 234, 174, 146]
Example Output: [797, 31, 67]

Example Input: [296, 547, 510, 670, 411, 683, 802, 389]
Example Output:
[547, 683, 389]