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]: [511, 250, 811, 874, 37]
[EX A]: [811, 37]

[EX Q]: [5, 672, 373, 997, 487, 467, 173, 991, 241, 587, 840, 277, 941, 457, 353, 964, 467, 359, 377, 80]
[EX A]: [5, 373, 997, 487, 467, 173, 991, 241, 587, 277, 941, 457, 353, 467, 359]

[EX Q]: [587, 958, 788, 358, 277, 644, 629, 247, 323, 193, 601, 634, 11, 952]
[EX A]:
[587, 277, 193, 601, 11]