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: [311, 286, 829, 593, 323, 460, 44, 280, 653, 916, 577, 141, 777, 938, 389, 864, 449, 150, 212]

Answer: [311, 829, 593, 653, 577, 389, 449]


Question: [383, 830, 319, 199, 639, 773, 569, 563, 907]

Answer: [383, 199, 773, 569, 563, 907]


Question: [111, 467, 599, 96, 859, 679, 271, 107, 319, 845, 294, 541, 31, 677, 26, 19, 224, 347]

Answer:
[467, 599, 859, 271, 107, 541, 31, 677, 19, 347]