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: [354, 255, 239, 293, 733, 350, 733, 41, 541, 813, 683, 688, 3, 581]

A: [239, 293, 733, 733, 41, 541, 683, 3]
****
Q: [887, 721, 523, 41, 769, 109, 327, 129, 313]

A: [887, 523, 41, 769, 109, 313]
****
Q: [761, 666, 997, 587, 902, 593]

A:
[761, 997, 587, 593]
****