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: [666, 317, 653, 234, 439, 72, 127, 461, 613, 740, 101, 881, 738]

Answer: [317, 653, 439, 127, 461, 613, 101, 881]


Question: [419, 230, 547, 368, 239, 339, 797, 947, 168, 37, 998, 172, 201, 227, 82, 38, 23, 594, 757]

Answer:
[419, 547, 239, 797, 947, 37, 227, 23, 757]