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: [906, 608]

Answer: []


Question: [579, 331, 193, 164, 433, 865, 587, 919, 522, 382, 794, 829, 294, 881, 124, 364]

Answer: [331, 193, 433, 587, 919, 829, 881]


Question: [659, 94, 706, 247, 444, 212, 910, 367, 743, 349, 977, 780, 540, 271, 907, 487, 913, 729, 113, 830]

Answer:
[659, 367, 743, 349, 977, 271, 907, 487, 113]