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: [496, 39, 59, 211, 617, 644, 685, 909, 337]
Example Output: [59, 211, 617, 337]

Example Input: [845, 461, 381, 2, 248, 7, 223, 999]
Example Output: [461, 2, 7, 223]

Example Input: [459, 947, 647, 300, 157, 268, 388, 463, 470, 533, 838, 22, 461]
Example Output:
[947, 647, 157, 463, 461]