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: [904, 73, 539, 689, 227, 383, 26, 139, 787, 223, 887, 43, 821, 877, 510, 347, 307, 253, 54]

Answer: [73, 227, 383, 139, 787, 223, 887, 43, 821, 877, 347, 307]


Question: [243, 748, 752, 614, 140, 688, 211, 229]

Answer: [211, 229]


Question: [349, 523, 643, 253, 545, 133, 773, 89, 353, 41, 997, 569, 911, 769, 232, 500, 327, 471, 344, 884]

Answer:
[349, 523, 643, 773, 89, 353, 41, 997, 569, 911, 769]