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]: [313, 248, 577, 882, 126, 401, 593, 366, 83, 730, 117]
[EX A]: [313, 577, 401, 593, 83]

[EX Q]: [315, 999, 923, 229, 109, 88, 633, 19]
[EX A]: [229, 109, 19]

[EX Q]: [818, 163, 504, 97, 144, 329, 673, 89, 523, 841, 214, 607, 533, 773, 674, 574, 353, 880, 947]
[EX A]:
[163, 97, 673, 89, 523, 607, 773, 353, 947]