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: [937, 154, 263, 647, 820, 979, 887, 343, 793]

A: [937, 263, 647, 887]
****
Q: [859, 706, 462, 499, 936, 277, 216, 43, 263, 877, 163, 521, 661, 785, 35, 683]

A: [859, 499, 277, 43, 263, 877, 163, 521, 661, 683]
****
Q: [2, 117, 47, 577, 237, 789, 193, 577, 228, 200, 263, 929, 128, 449, 951, 594, 710]

A:
[2, 47, 577, 193, 577, 263, 929, 449]
****