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: [921, 305, 717, 688, 919, 257, 983, 953, 863, 270, 190, 885, 525, 749, 181, 467, 852, 557, 601]
Example Output: [919, 257, 983, 953, 863, 181, 467, 557, 601]

Example Input: [75, 859, 147, 61, 703, 5, 271, 240, 46, 281, 656, 271, 371, 587, 19]
Example Output:
[859, 61, 5, 271, 281, 271, 587, 19]