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: [353, 953, 99, 641, 787, 160, 593, 269, 302, 315, 894, 846, 353, 461]

Output: [353, 953, 641, 787, 593, 269, 353, 461]


Input: Consider Input: [519, 638, 433, 401]

Output: [433, 401]


Input: Consider Input: [149, 502, 708, 647, 653, 407, 531, 311]


Output: [149, 647, 653, 311]