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:
[59, 422, 78, 582, 358, 876, 958, 659, 757, 24, 967, 746, 301]
answer:
[59, 659, 757, 967]


question:
[718, 882, 311, 97, 31, 646, 146, 971]
answer:
[311, 97, 31, 971]


question:
[761, 742, 547, 499, 971, 984, 631, 601, 883, 835, 523, 307, 151, 345, 409, 937, 358, 625, 779, 223]
answer:

[761, 547, 499, 971, 631, 601, 883, 523, 307, 151, 409, 937, 223]