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: [77, 257, 281]

Answer: [257, 281]


Question: [530, 843, 499, 805, 11, 298, 11, 839, 31, 47, 883, 557, 457, 353, 587, 563]

Answer:
[499, 11, 11, 839, 31, 47, 883, 557, 457, 353, 587, 563]