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: [706, 887, 881, 918, 166, 124, 965, 754, 566, 62, 257, 520]

Answer: [887, 881, 257]


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

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


Question: [976, 12, 966, 854, 223, 532, 371, 607, 6, 519, 83, 193, 164, 885]

Answer:
[223, 607, 83, 193]