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]: [329, 842, 977, 694, 929]
[EX A]: [977, 929]

[EX Q]: [337, 264, 776, 201, 33, 29, 211, 601, 103, 461, 330, 61, 211, 929, 202, 907, 117]
[EX A]: [337, 29, 211, 601, 103, 461, 61, 211, 929, 907]

[EX Q]: [751, 559, 829, 672, 876, 542, 568, 667, 617, 709, 329, 811, 295, 642, 764, 401, 787, 2, 608]
[EX A]:
[751, 829, 617, 709, 811, 401, 787, 2]