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: [29, 12, 379]
Example Output: [29, 379]

Example Input: [36, 180, 367, 299, 518, 619, 669, 294]
Example Output: [367, 619]

Example Input: [417, 751, 447, 581, 349, 586, 286, 821, 423, 379, 710, 271, 435, 281, 160]
Example Output:
[751, 349, 821, 379, 271, 281]