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: [421, 312, 181, 428, 818, 234, 737, 478, 200, 797, 658, 510, 348, 827, 414, 761, 938]

A: [421, 181, 797, 827, 761]
****
Q: [579, 331, 193, 164, 433, 865, 587, 919, 522, 382, 794, 829, 294, 881, 124, 364]

A: [331, 193, 433, 587, 919, 829, 881]
****
Q: [245, 945, 936, 569, 823, 193, 997, 131, 353, 769, 873, 687, 269, 167]

A:
[569, 823, 193, 997, 131, 353, 769, 269, 167]
****