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.

Q: [897, 521, 982, 259, 569]

A: [521, 569]
****
Q: [839, 111, 126, 923, 467, 379, 46, 788, 157, 128, 263, 107, 423, 59, 911]

A: [839, 467, 379, 157, 263, 107, 59, 911]
****
Q: [308, 97, 929, 599, 29]

A:
[97, 929, 599, 29]
****