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: [897, 521, 982, 259, 569]
Example Output: [521, 569]

Example Input: [211, 22, 139, 887, 460, 827, 727, 392, 489, 401, 122, 945, 499, 569, 13, 348, 695, 867]
Example Output: [211, 139, 887, 827, 727, 401, 499, 569, 13]

Example Input: [989, 5, 83, 310, 549, 509, 53, 804, 394, 256, 223, 127, 387, 924, 67, 51, 683, 677, 752, 560]
Example Output:
[5, 83, 509, 53, 223, 127, 67, 683, 677]