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: [797, 687, 816, 860, 542, 583, 227, 787, 967, 541, 23, 409, 991, 942, 557, 733, 307, 967, 853, 61]
Example Output: [797, 227, 787, 967, 541, 23, 409, 991, 557, 733, 307, 967, 853, 61]

Example Input: [625, 215, 271, 830, 18, 373, 829, 521, 140, 757, 317, 619, 839, 115, 749, 126, 222, 163]
Example Output: [271, 373, 829, 521, 757, 317, 619, 839, 163]

Example Input: [391, 653, 842, 140, 863, 86, 377, 453, 599, 137, 616, 338, 391, 94, 569, 93, 566]
Example Output:
[653, 863, 599, 137, 569]