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: [181, 923, 102, 936, 451, 2, 281, 292, 347, 23, 939]

Answer: [181, 2, 281, 347, 23]


Question: [449, 453, 712, 728, 751, 935, 881, 773, 394]

Answer: [449, 751, 881, 773]


Question: [157, 390, 97, 112, 243, 449, 877, 149, 866]

Answer:
[157, 97, 449, 877, 149]