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:
[337, 76, 431, 311, 78, 785, 181, 373, 832, 18]
answer:
[337, 431, 311, 181, 373]


question:
[584, 347, 252, 136, 797, 693, 705, 522, 821, 83, 816, 269]
answer:
[347, 797, 821, 83, 269]


question:
[437, 547, 233, 402, 350, 407, 468, 487, 13, 607, 607, 7, 165, 558, 523, 864, 307, 964, 71]
answer:

[547, 233, 487, 13, 607, 607, 7, 523, 307, 71]