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: [627, 835, 629, 401, 577, 61, 369, 257]

Answer: [401, 577, 61, 257]


Question: [41, 101, 619, 752, 861, 163, 721]

Answer: [41, 101, 619, 163]


Question: [181, 403, 881, 200, 50, 632, 588, 225, 945, 894, 360, 971, 827, 121, 307, 389, 984, 877, 768, 118]

Answer:
[181, 881, 971, 827, 307, 389, 877]