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: [358, 848]

Answer: []


Question: [659, 536, 569, 911, 677, 27, 549, 359, 547, 89]

Answer: [659, 569, 911, 677, 359, 547, 89]


Question: [231, 787, 439, 898, 877, 541, 685, 511, 773, 8, 882]

Answer:
[787, 439, 877, 541, 773]