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: [710, 521, 814, 907, 311, 346, 751, 929, 79, 175, 582, 991, 716]
Example Output: [521, 907, 311, 751, 929, 79, 991]

Example Input: [389, 709, 551, 516, 317]
Example Output: [389, 709, 317]

Example Input: [233, 574, 455, 107, 187]
Example Output:
[233, 107]