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]: [3, 590, 953, 163, 614, 131, 419, 222, 23, 257, 278, 853, 874, 127, 43]
[EX A]: [3, 953, 163, 131, 419, 23, 257, 853, 127, 43]

[EX Q]: [627, 835, 629, 401, 577, 61, 369, 257]
[EX A]: [401, 577, 61, 257]

[EX Q]: [347, 866, 137, 59, 457, 404, 701, 23, 771, 932, 857, 574, 419, 747, 677, 939, 757, 7, 421, 613]
[EX A]:
[347, 137, 59, 457, 701, 23, 857, 419, 677, 757, 7, 421, 613]