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: [817, 505, 502, 436, 947, 607, 737, 626, 577, 737, 811, 864, 941, 561, 31]
Example Output: [947, 607, 577, 811, 941, 31]

Example Input: [820, 31, 607, 160, 839, 503, 443, 199, 6, 797, 417, 116, 71, 721]
Example Output: [31, 607, 839, 503, 443, 199, 797, 71]

Example Input: [700, 47, 68, 446, 205, 28, 404, 82, 661, 359, 218, 758, 47, 857]
Example Output:
[47, 661, 359, 47, 857]