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: [911, 503, 271, 226, 719, 507, 342, 317, 121, 761, 770]

Answer: [911, 503, 271, 719, 317, 761]


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: [401, 491, 457, 877, 239]

Answer:
[401, 491, 457, 877, 239]