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: [673, 458, 800, 127, 89, 751, 301, 457]

Answer: [673, 127, 89, 751, 457]


Question: [7, 541, 25, 520, 557, 439, 40, 113]

Answer: [7, 541, 557, 439, 113]


Question: [640, 857, 586, 835, 307, 23, 895, 592, 621, 617, 119, 602, 577]

Answer:
[857, 307, 23, 617, 577]