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: [971, 84, 379, 241, 510, 410, 953, 768]

Answer: [971, 379, 241, 953]


Question: [164, 580, 119, 541]

Answer: [541]


Question: [151, 251, 229, 167, 547, 628, 211, 97, 373, 719, 468, 490, 209, 547, 857, 96]

Answer:
[151, 251, 229, 167, 547, 211, 97, 373, 719, 547, 857]