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: [151, 634, 90, 92, 71, 710, 461, 241, 729, 980, 211, 3]

Output: [151, 71, 461, 241, 211, 3]


Input: Consider Input: [164, 580, 119, 541]

Output: [541]


Input: Consider Input: [153, 641, 940, 959, 269, 31, 153, 401, 901, 643, 389, 277]


Output: [641, 269, 31, 401, 643, 389, 277]