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: [144, 350]

Answer: []


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

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


Question: [324, 859, 762, 93, 167, 569, 857, 216, 790]

Answer:
[859, 167, 569, 857]