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]: [41, 407, 857, 986]
[EX A]: [41, 857]

[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]: [374, 211, 213, 644, 84, 883, 530, 881, 19, 137, 109, 491, 877, 54, 450, 714, 449, 414]
[EX A]:
[211, 883, 881, 19, 137, 109, 491, 877, 449]