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: [362, 923, 619, 17, 986, 491, 200, 641, 566, 801, 871, 199, 61, 612]

Answer: [619, 17, 491, 641, 199, 61]


Question: [233, 574, 455, 107, 187]

Answer: [233, 107]


Question: [421, 718, 610, 688, 393, 962, 3, 677, 827, 923, 486, 312, 947, 98, 307, 494, 504, 659]

Answer:
[421, 3, 677, 827, 947, 307, 659]