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: [249, 791]
Example Output: []

Example Input: [314, 877, 967, 639, 858, 967, 570, 73, 797, 571, 761, 986, 11, 373, 268, 531, 997, 495, 983]
Example Output: [877, 967, 967, 73, 797, 571, 761, 11, 373, 997, 983]

Example Input: [19, 325, 217, 229, 529, 286, 956, 410, 839, 449, 660, 933, 809, 31, 587, 11, 396, 611, 673, 151]
Example Output:
[19, 229, 839, 449, 809, 31, 587, 11, 673, 151]