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: [859, 467, 748, 245, 2, 645, 243, 659, 625]
Example Output: [859, 467, 2, 659]

Example Input: [647, 653, 812, 761, 304, 929, 83]
Example Output: [647, 653, 761, 929, 83]

Example Input: [107, 820, 786, 54, 285, 51, 617, 457, 997]
Example Output:
[107, 617, 457, 997]