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: [434, 518, 366, 227, 664, 281, 565, 223, 701, 379, 811, 5, 166]
Example Output: [227, 281, 223, 701, 379, 811, 5]

Example Input: [857, 265, 953, 964, 461, 238, 599, 802, 571, 305, 563, 607, 381, 197, 406, 830, 356]
Example Output: [857, 953, 461, 599, 571, 563, 607, 197]

Example Input: [811, 839, 631, 874, 588, 188, 616, 773, 227, 289, 942, 769, 401, 311, 60, 349]
Example Output:
[811, 839, 631, 773, 227, 769, 401, 311, 349]