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]: [144, 523, 606, 391]
[EX A]: [523]

[EX Q]: [313, 248, 577, 882, 126, 401, 593, 366, 83, 730, 117]
[EX A]: [313, 577, 401, 593, 83]

[EX Q]: [598, 908, 547, 736, 14, 971, 37, 809, 387, 876, 165, 683, 584, 809, 23, 992, 711, 301, 444, 467]
[EX A]:
[547, 971, 37, 809, 683, 809, 23, 467]