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: [190, 307, 823, 895, 706]
Example Output: [307, 823]

Example Input: [131, 821, 95, 47, 227, 364, 470, 512, 798]
Example Output: [131, 821, 47, 227]

Example Input: [781, 271, 283, 412, 140, 187, 979, 905, 580, 487, 191]
Example Output:
[271, 283, 487, 191]