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: [317, 105, 677, 839]

Answer: [317, 677, 839]


Question: [383, 938, 37, 97, 487, 19, 943, 684, 277, 547, 277, 859, 304, 829, 804]

Answer: [383, 37, 97, 487, 19, 277, 547, 277, 859, 829]


Question: [96, 193, 653, 143, 379, 47, 58]

Answer:
[193, 653, 379, 47]