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: [647, 653, 812, 761, 304, 929, 83]

Answer: [647, 653, 761, 929, 83]


Question: [898, 808, 431, 569, 467, 3, 160]

Answer: [431, 569, 467, 3]


Question: [736, 709, 695, 220, 151, 859, 53, 74, 590, 458, 479, 283, 503, 52, 593, 881]

Answer:
[709, 151, 859, 53, 479, 283, 503, 593, 881]