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: [985, 173]
Example Output: [173]

Example Input: [5, 465, 374, 41, 891, 118, 960, 175, 937, 211, 227]
Example Output: [5, 41, 937, 211, 227]

Example Input: [563, 206, 999, 223, 731, 862, 119, 163, 827, 596, 364, 974, 811, 998, 46, 941, 104, 311, 278]
Example Output:
[563, 223, 163, 827, 811, 941, 311]