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: [613, 678, 877, 795, 945, 335, 300, 987, 590, 596, 775]

Answer: [613, 877]


Question: [624, 653, 991, 337]

Answer: [653, 991, 337]


Question: [118, 61, 511, 644, 919, 29, 303, 207, 742, 624, 882, 983, 769, 231, 718, 503, 997, 715, 538, 54]

Answer:
[61, 919, 29, 983, 769, 503, 997]