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: [688, 993, 3, 101, 281, 674, 359, 246, 421, 491, 82, 565, 89, 493]

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

Question: [876, 173, 936, 929, 806, 360, 103, 114, 622, 690, 813, 540, 599]

Answer: [173, 929, 103, 599]

Question: [571, 19, 757, 790, 920, 331]

Answer:
[571, 19, 757, 331]