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]: [163, 79, 336, 538, 94, 401, 367, 947, 181, 863, 436, 557, 878, 113, 67, 149, 521, 893, 541]
[EX A]: [163, 79, 401, 367, 947, 181, 863, 557, 113, 67, 149, 521, 541]

[EX Q]: [577, 941, 739, 367, 339, 607, 271, 299, 452, 523, 351, 307]
[EX A]: [577, 941, 739, 367, 607, 271, 523, 307]

[EX Q]: [101, 818, 70, 617, 683, 659, 397, 857]
[EX A]:
[101, 617, 683, 659, 397, 857]