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: [109, 879, 727, 721, 239, 642, 547, 168, 989]
Example Output: [109, 727, 239, 547]

Example Input: [743, 29, 719, 358, 671, 241, 857, 533, 467, 617, 27, 514, 560]
Example Output: [743, 29, 719, 241, 857, 467, 617]

Example Input: [550, 181, 229, 683, 31, 964, 552, 701, 740, 910, 701, 245, 63, 523]
Example Output:
[181, 229, 683, 31, 701, 701, 523]