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: [393, 808, 61, 281, 615, 982, 110, 359, 107, 769, 289]

Answer: [61, 281, 359, 107, 769]


Question: [311, 857, 204, 461, 97, 507, 953, 499, 311, 863]

Answer: [311, 857, 461, 97, 953, 499, 311, 863]


Question: [389, 787, 571, 849, 999]

Answer:
[389, 787, 571]