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: [13, 748, 709, 379, 641, 751, 350, 564, 341, 263, 159, 122, 43]

Output: [13, 709, 379, 641, 751, 263, 43]


Input: Consider Input: [340, 881, 12, 477, 423, 37, 311]


Output: [881, 37, 311]