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: [37, 537, 375, 312, 883, 259, 131, 161]

Answer: [37, 883, 131]


Question: [413, 829, 547, 350, 620, 887, 697, 31, 13]

Answer: [829, 547, 887, 31, 13]


Question: [827, 92, 987, 379, 751, 7, 383, 59, 429, 895, 76, 71, 443, 43, 787, 746, 461, 29, 929]

Answer:
[827, 379, 751, 7, 383, 59, 71, 443, 43, 787, 461, 29, 929]