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: [763, 57, 509, 566, 435]

Output: [509]


Input: Consider Input: [634, 613, 334, 461, 715, 149, 349, 857, 729, 547, 109, 229]

Output: [613, 461, 149, 349, 857, 547, 109, 229]


Input: Consider Input: [296, 977, 238, 442, 953, 563, 881, 113, 179, 857, 683, 598, 813]


Output: [977, 953, 563, 881, 113, 179, 857, 683]