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:
[509, 677, 199, 641, 706, 601, 533, 320, 171, 423]
answer:
[509, 677, 199, 641, 601]


question:
[685, 351, 809, 116, 973, 29, 601, 889, 792, 643]
answer:
[809, 29, 601, 643]


question:
[331, 462, 23, 947, 513, 919, 851, 381, 152, 318, 787, 954, 442, 124, 419, 883, 7, 297, 761]
answer:

[331, 23, 947, 919, 787, 419, 883, 7, 761]