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]: [358, 848]
[EX A]: []

[EX Q]: [313, 469, 433, 317, 911, 157, 233, 734, 37, 397, 942, 997, 679, 647, 817]
[EX A]:
[313, 433, 317, 911, 157, 233, 37, 397, 997, 647]