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: [558, 991, 457, 398, 227, 163, 257, 750, 887, 13, 634]
Example Output: [991, 457, 227, 163, 257, 887, 13]

Example Input: [827, 103, 882, 359, 547, 384, 759, 925, 547, 75, 743]
Example Output:
[827, 103, 359, 547, 547, 743]