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: [729, 929, 197, 577, 109, 305]

Answer: [929, 197, 577, 109]


Question: [887, 147, 474, 684, 280, 661, 991, 545, 363]

Answer: [887, 661, 991]


Question: [353, 281, 193, 575, 929, 62, 307, 327, 703, 533, 337, 519, 256, 120, 199, 503, 136]

Answer:
[353, 281, 193, 929, 307, 337, 199, 503]