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]: [666, 54, 138, 864, 937, 702, 699, 79, 811, 419, 17, 619, 163, 103, 643, 691]
[EX A]: [937, 79, 811, 419, 17, 619, 163, 103, 643, 691]

[EX Q]: [563, 283, 487, 787, 29, 73, 644]
[EX A]: [563, 283, 487, 787, 29, 73]

[EX Q]: [183, 349, 31, 254, 947, 2, 768, 80, 780, 123, 978, 624, 419, 751, 431, 39]
[EX A]:
[349, 31, 947, 2, 419, 751, 431]