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]: [269, 347, 937, 36, 521, 363, 643, 461, 402]
[EX A]: [269, 347, 937, 521, 643, 461]

[EX Q]: [929, 96, 461, 143, 117, 271, 285, 257]
[EX A]: [929, 461, 271, 257]

[EX Q]: [684, 109, 181, 184, 163, 715, 277, 625, 220, 968, 383, 509, 7, 653, 980]
[EX A]:
[109, 181, 163, 277, 383, 509, 7, 653]