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: [967, 195, 783, 773, 347]

Output: [967, 773, 347]


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: [43, 58, 251, 613, 409, 433, 137, 347, 147, 645, 838, 409, 691, 83, 503, 653, 353, 499, 863]


Output: [43, 251, 613, 409, 433, 137, 347, 409, 691, 83, 503, 653, 353, 499, 863]