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: [235, 863, 577, 67]

Answer: [863, 577, 67]


Question: [401, 584, 901, 553]

Answer: [401]


Question: [277, 421, 293, 17, 222, 627, 473, 233, 566, 53, 677, 147, 579]

Answer:
[277, 421, 293, 17, 233, 53, 677]