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: [947, 439, 241, 143, 179, 397, 239, 809, 702, 5, 739, 853, 62, 443, 181, 495, 557, 151]
Example Output: [947, 439, 241, 179, 397, 239, 809, 5, 739, 853, 443, 181, 557, 151]

Example Input: [101, 211, 295, 382, 926, 823, 5, 241, 634, 534]
Example Output: [101, 211, 823, 5, 241]

Example Input: [165, 247, 19, 277, 229, 102, 54, 743, 790, 826, 772, 863, 107, 829, 924, 311, 438]
Example Output:
[19, 277, 229, 743, 863, 107, 829, 311]