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: [738, 47, 41, 293, 131, 928, 110, 47, 239, 997, 667, 606, 56, 167, 146]

Answer: [47, 41, 293, 131, 47, 239, 997, 167]


Question: [871, 360, 588, 719, 599, 719, 461]

Answer: [719, 599, 719, 461]


Question: [773, 883, 185, 19, 562, 69, 877, 348, 437, 743, 671, 67, 643, 622, 71, 53]

Answer:
[773, 883, 19, 877, 743, 67, 643, 71, 53]