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]: [673, 458, 800, 127, 89, 751, 301, 457]
[EX A]: [673, 127, 89, 751, 457]

[EX Q]: [887, 721, 523, 41, 769, 109, 327, 129, 313]
[EX A]: [887, 523, 41, 769, 109, 313]

[EX Q]: [510, 241, 631, 904, 31, 369, 97, 251, 494, 526, 825, 64, 641, 957, 272, 840, 839]
[EX A]:
[241, 631, 31, 97, 251, 641, 839]