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: [211, 22, 139, 887, 460, 827, 727, 392, 489, 401, 122, 945, 499, 569, 13, 348, 695, 867]
Example Output: [211, 139, 887, 827, 727, 401, 499, 569, 13]

Example Input: [229, 31, 937, 953]
Example Output: [229, 31, 937, 953]

Example Input: [71, 459, 948, 293, 313, 457, 569, 94, 660, 440, 838, 547, 582, 621, 864, 233, 51]
Example Output:
[71, 293, 313, 457, 569, 547, 233]