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: [634, 613, 334, 461, 715, 149, 349, 857, 729, 547, 109, 229]

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


Input: Consider Input: [97, 918, 668, 448, 850, 883, 727, 499]

Output: [97, 883, 727, 499]


Input: Consider Input: [529, 547, 500, 861, 757, 676, 911, 565, 929, 68, 491]


Output: [547, 757, 911, 929, 491]