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]: [233, 574, 455, 107, 187]
[EX A]: [233, 107]

[EX Q]: [706, 887, 881, 918, 166, 124, 965, 754, 566, 62, 257, 520]
[EX A]: [887, 881, 257]

[EX Q]: [167, 618, 769, 227, 809, 103, 661, 313, 596, 557, 310, 518, 219, 965, 400, 131, 857, 312, 278, 757]
[EX A]:
[167, 769, 227, 809, 103, 661, 313, 557, 131, 857, 757]