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: [642, 557, 263, 882, 937, 793, 337, 983, 397, 281, 824, 313, 641, 408, 739, 661, 673, 360, 875]

Answer: [557, 263, 937, 337, 983, 397, 281, 313, 641, 739, 661, 673]


Question: [251, 839, 986, 523, 877, 107, 70, 809, 215, 762, 53, 102, 859, 991, 977, 532, 83]

Answer:
[251, 839, 523, 877, 107, 809, 53, 859, 991, 977, 83]