instruction:
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.
question:
[839, 111, 126, 923, 467, 379, 46, 788, 157, 128, 263, 107, 423, 59, 911]
answer:
[839, 467, 379, 157, 263, 107, 59, 911]


question:
[131, 821, 95, 47, 227, 364, 470, 512, 798]
answer:
[131, 821, 47, 227]


question:
[197, 353, 877, 705, 283, 692, 271, 529, 827, 718, 240, 59, 307, 471, 599, 298, 829]
answer:

[197, 353, 877, 283, 271, 827, 59, 307, 599, 829]