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: [814, 5, 3, 289, 833, 197, 359, 598, 271, 743, 838, 411, 344, 469, 3]

Answer: [5, 3, 197, 359, 271, 743, 3]


Question: [31, 359, 489, 385, 15, 463, 699, 353, 496, 924, 778, 229, 127]

Answer: [31, 359, 463, 353, 229, 127]


Question: [839, 449, 433, 863, 373, 231, 437, 906, 653, 842, 803, 43, 991]

Answer:
[839, 449, 433, 863, 373, 653, 43, 991]