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:
[593, 264, 163, 9, 709]
answer:
[593, 163, 709]


question:
[487, 618, 757, 427, 757, 461, 86, 263, 911, 954, 447, 445, 866, 67, 248, 959, 833, 412]
answer:
[487, 757, 757, 461, 263, 911, 67]


question:
[462, 31, 739, 360, 307, 802, 532, 267, 863]
answer:

[31, 739, 307, 863]