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: [824, 359, 113, 647, 433, 879, 761, 958, 626, 11, 331, 151, 387, 408, 18]

Answer: [359, 113, 647, 433, 761, 11, 331, 151]


Question: [3, 515, 613, 787, 199]

Answer: [3, 613, 787, 199]


Question: [224, 983, 335, 439, 72, 147, 149, 832, 839, 809, 980, 392, 857, 311, 813, 193, 134, 827]

Answer:
[983, 439, 149, 839, 809, 857, 311, 193, 827]