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.

Input: Consider Input: [211, 22, 139, 887, 460, 827, 727, 392, 489, 401, 122, 945, 499, 569, 13, 348, 695, 867]

Output: [211, 139, 887, 827, 727, 401, 499, 569, 13]


Input: Consider Input: [607, 793, 817, 577, 578, 379, 47, 769, 442]

Output: [607, 577, 379, 47, 769]


Input: Consider Input: [439, 769, 365, 197, 83, 552, 467, 325, 914, 337, 583]


Output: [439, 769, 197, 83, 467, 337]