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: [631, 557, 277, 273, 671, 431, 179, 911, 163, 253, 588, 215, 271]
Example Output: [631, 557, 277, 431, 179, 911, 163, 271]

Example Input: [590, 3, 191, 776, 560, 461, 197, 40]
Example Output:
[3, 191, 461, 197]