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.

Example Input: [738, 47, 41, 293, 131, 928, 110, 47, 239, 997, 667, 606, 56, 167, 146]
Example Output: [47, 41, 293, 131, 47, 239, 997, 167]

Example Input: [59, 586, 162, 973, 563, 512, 786, 282, 734, 677, 191]
Example Output: [59, 563, 677, 191]

Example Input: [537, 183, 977, 953, 977, 823, 638, 580]
Example Output:
[977, 953, 977, 823]