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.

[EX Q]: [307, 83, 229, 968]
[EX A]: [307, 83, 229]

[EX Q]: [887, 721, 523, 41, 769, 109, 327, 129, 313]
[EX A]: [887, 523, 41, 769, 109, 313]

[EX Q]: [630, 617, 196, 662, 436, 521, 266, 549, 255, 601, 450, 551, 827, 571, 577, 296, 848, 543]
[EX A]:
[617, 521, 601, 827, 571, 577]