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: [946, 59, 941, 480, 379, 877, 11, 544, 306, 409]

Answer: [59, 941, 379, 877, 11, 409]


Question: [587, 743, 125, 314, 449, 167, 328, 140, 172, 595, 97, 932, 381, 73, 197]

Answer: [587, 743, 449, 167, 97, 73, 197]


Question: [662, 673, 281, 439, 541, 719, 821, 661, 197]

Answer:
[673, 281, 439, 541, 719, 821, 661, 197]