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]: [591, 772, 276, 23, 995, 217, 719, 31, 776, 155, 857, 642]
[A]: [23, 719, 31, 857]


[Q]: [369, 680, 236]
[A]: []


[Q]: [947, 825, 929, 806, 391, 313, 564, 353, 17, 469, 798, 593, 769, 941, 881, 882, 89, 751, 627]
[A]:
[947, 929, 313, 353, 17, 593, 769, 941, 881, 89, 751]