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: [499, 252, 632, 368, 337, 92, 283, 641, 82, 813, 31]
Example Output: [499, 337, 283, 641, 31]

Example Input: [813, 648, 5, 122, 533, 367, 653, 101, 257, 523, 146, 413, 397, 278, 488, 635, 104, 859, 359]
Example Output: [5, 367, 653, 101, 257, 523, 397, 859, 359]

Example Input: [947, 168, 63, 697, 3, 946, 945, 541, 199, 107, 290, 307, 127, 509, 89, 666]
Example Output:
[947, 3, 541, 199, 107, 307, 127, 509, 89]