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: [828, 11]

Answer: [11]


Question: [579, 331, 193, 164, 433, 865, 587, 919, 522, 382, 794, 829, 294, 881, 124, 364]

Answer: [331, 193, 433, 587, 919, 829, 881]


Question: [258, 587, 540, 3, 362, 622, 799, 743, 463, 863, 661, 139, 881, 43, 248, 557, 669, 596, 255, 499]

Answer:
[587, 3, 743, 463, 863, 661, 139, 881, 43, 557, 499]