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: [859, 802, 601, 31, 181, 578, 899, 67, 257, 124, 109, 733, 383, 752]

Answer: [859, 601, 31, 181, 67, 257, 109, 733, 383]


Question: [227, 154, 213, 479, 326, 15, 554, 110, 81, 301, 17, 173, 479]

Answer: [227, 479, 17, 173, 479]


Question: [541, 491, 257, 389, 22, 279, 977, 374, 607, 682, 797, 457, 764, 239]

Answer:
[541, 491, 257, 389, 977, 607, 797, 457, 239]