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: [149, 114, 163, 204, 992, 967, 162, 915, 525, 863, 685, 636, 51]

Answer: [149, 163, 967, 863]


Question: [781, 463, 727, 877, 537, 401, 401, 199, 280, 163, 739]

Answer: [463, 727, 877, 401, 401, 199, 163, 739]


Question: [2, 947, 127, 375, 291, 285, 499, 541, 967, 970, 414, 128, 827]

Answer:
[2, 947, 127, 499, 541, 967, 827]