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: [401, 787, 867, 76, 609, 701, 509, 532, 626, 13, 24, 211, 349, 337, 967, 705, 523]

Answer: [401, 787, 701, 509, 13, 211, 349, 337, 967, 523]


Question: [688, 993, 3, 101, 281, 674, 359, 246, 421, 491, 82, 565, 89, 493]

Answer: [3, 101, 281, 359, 421, 491, 89]


Question: [639, 166, 395, 258, 923, 193, 318, 593, 731, 996, 409, 288, 89, 483]

Answer:
[193, 593, 409, 89]