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: [229, 347, 619, 904, 521, 868, 367, 45, 241]

Answer: [229, 347, 619, 521, 367, 241]


Question: [325, 823, 383, 280, 116, 313, 89, 647, 229, 985, 728, 314, 639, 273, 967, 985]

Answer: [823, 383, 313, 89, 647, 229, 967]


Question: [979, 107, 576, 139, 29, 315]

Answer:
[107, 139, 29]