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: [993, 613, 605, 724, 613, 857, 22]

A: [613, 613, 857]
****
Q: [539, 398, 708, 761, 881]

A: [761, 881]
****
Q: [313, 89, 315, 953, 887, 813, 491, 233, 836, 464, 661, 199, 41, 505, 318, 509, 98, 549]

A:
[313, 89, 953, 887, 491, 233, 661, 199, 41, 509]
****