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: [743, 29, 662, 740, 468, 831, 907, 631, 271, 94, 291]

Answer: [743, 29, 907, 631, 271]


Question: [689, 401, 526, 193, 545, 218, 949]

Answer: [401, 193]


Question: [374, 828, 903, 805, 107, 571, 379, 499, 229, 263, 938, 131, 701, 607, 809, 503, 443, 107, 154]

Answer:
[107, 571, 379, 499, 229, 263, 131, 701, 607, 809, 503, 443, 107]