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: [666, 317, 653, 234, 439, 72, 127, 461, 613, 740, 101, 881, 738]

Output: [317, 653, 439, 127, 461, 613, 101, 881]


Input: Consider Input: [786, 624, 597, 682, 641, 23, 590, 222, 271, 305, 61, 29, 37, 42, 788, 904]

Output: [641, 23, 271, 61, 29, 37]


Input: Consider Input: [163, 471, 165, 181, 613, 39, 238, 876, 957, 465, 231, 947, 269, 213, 5, 118, 811, 977]


Output: [163, 181, 613, 947, 269, 5, 811, 977]