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: [866, 57, 828, 649, 215, 560, 149, 410, 191, 131, 151, 191, 781, 522, 861, 641, 566, 61]

Output: [149, 191, 131, 151, 191, 641, 61]


Input: Consider Input: [613, 678, 877, 795, 945, 335, 300, 987, 590, 596, 775]

Output: [613, 877]


Input: Consider Input: [547, 283, 29, 881, 139, 31, 459, 941, 526, 941, 560, 496, 230, 455, 577, 379, 281, 47, 58]


Output: [547, 283, 29, 881, 139, 31, 941, 941, 577, 379, 281, 47]