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: [603, 302, 547, 331, 229, 276, 403, 745, 707, 168]

Output: [547, 331, 229]


Input: Consider Input: [582, 461, 625, 71, 502, 233, 596, 275, 367, 877, 953, 61, 557]


Output: [461, 71, 233, 367, 877, 953, 61, 557]