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: [509, 677, 199, 641, 706, 601, 533, 320, 171, 423]

Answer: [509, 677, 199, 641, 601]


Question: [639, 769, 11, 311, 691, 479, 133, 353, 521, 829, 739, 191, 881]

Answer: [769, 11, 311, 691, 479, 353, 521, 829, 739, 191, 881]


Question: [127, 487, 571, 33, 809, 565, 270]

Answer:
[127, 487, 571, 809]