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: [509, 677, 199, 641, 706, 601, 533, 320, 171, 423]
Example Output: [509, 677, 199, 641, 601]

Example Input: [113, 953, 986, 463, 639, 173, 61, 998]
Example Output: [113, 953, 463, 173, 61]

Example Input: [418, 643, 746, 123, 151, 882, 359, 438, 167, 911, 918, 952, 808, 427, 197, 4]
Example Output:
[643, 151, 359, 167, 911, 197]