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: [442, 761, 187, 907]

Answer: [761, 907]


Question: [245, 919, 499, 770, 470, 377, 100]

Answer: [919, 499]


Question: [863, 385, 833, 941, 682, 311, 413, 421, 697, 678, 337, 617, 568]

Answer:
[863, 941, 311, 421, 337, 617]