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: [334, 24, 262, 758, 101, 107, 769]

A: [101, 107, 769]
****
Q: [433, 797, 683, 54, 739, 733, 242, 623, 831, 491, 433, 229, 59, 243, 199, 373, 642]

A:
[433, 797, 683, 739, 733, 491, 433, 229, 59, 199, 373]
****