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: [887, 721, 523, 41, 769, 109, 327, 129, 313]
Example Output: [887, 523, 41, 769, 109, 313]

Example Input: [229, 347, 619, 904, 521, 868, 367, 45, 241]
Example Output: [229, 347, 619, 521, 367, 241]

Example Input: [284, 952, 456, 622, 59, 911, 380, 829, 151, 723, 524, 739, 2]
Example Output:
[59, 911, 829, 151, 739, 2]