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:
[586, 33, 151, 316, 894, 936, 729, 23, 797, 179]
answer:
[151, 23, 797, 179]


question:
[164, 580, 119, 541]
answer:
[541]


question:
[877, 97, 404, 617, 187, 204, 239, 426, 467, 71, 227, 815, 59, 156, 949, 19, 107, 601, 2, 279]
answer:

[877, 97, 617, 239, 467, 71, 227, 59, 19, 107, 601, 2]