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:
[718, 882, 311, 97, 31, 646, 146, 971]
answer:
[311, 97, 31, 971]


question:
[214, 852, 578, 556, 579, 278, 383, 720, 418, 980, 26, 197, 359, 337, 758, 555, 841]
answer:
[383, 197, 359, 337]


question:
[23, 347, 907, 952, 617, 630, 859, 352, 473, 942]
answer:

[23, 347, 907, 617, 859]