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: [151, 634, 90, 92, 71, 710, 461, 241, 729, 980, 211, 3]

Answer: [151, 71, 461, 241, 211, 3]


Question: [845, 461, 381, 2, 248, 7, 223, 999]

Answer: [461, 2, 7, 223]


Question: [491, 78, 790, 137, 618, 183, 311, 820, 661, 663, 821, 762]

Answer:
[491, 137, 311, 661, 821]