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: [619, 270, 881, 373, 701, 845, 997, 968, 398, 707, 643, 239, 307]

Output: [619, 881, 373, 701, 997, 643, 239, 307]


Input: Consider Input: [421, 944, 489, 317, 971, 293, 373, 424, 118, 198]

Output: [421, 317, 971, 293, 373]


Input: Consider Input: [354, 101, 563, 265, 991, 881, 587, 607, 167]


Output: [101, 563, 991, 881, 587, 607, 167]