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.

Q: [839, 111, 126, 923, 467, 379, 46, 788, 157, 128, 263, 107, 423, 59, 911]

A: [839, 467, 379, 157, 263, 107, 59, 911]
****
Q: [878, 277, 523, 164, 296, 731, 370, 139, 457, 777, 647]

A: [277, 523, 139, 457, 647]
****
Q: [34, 923, 209, 421, 633, 277, 331, 79, 367, 443, 659, 870]

A:
[421, 277, 331, 79, 367, 443, 659]
****