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

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


Question: [311, 857, 204, 461, 97, 507, 953, 499, 311, 863]

Answer: [311, 857, 461, 97, 953, 499, 311, 863]


Question: [826, 691, 454, 257, 786, 547, 752, 762, 833, 71, 246, 932]

Answer:
[691, 257, 547, 71]