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, 445, 521, 643]
Example Output: [947, 521, 643]

Example Input: [73, 692, 149, 557, 400, 358, 11, 790, 577, 288, 89, 911, 244, 128, 706, 401, 886, 947]
Example Output: [73, 149, 557, 11, 577, 89, 911, 401, 947]

Example Input: [784, 763, 97, 492, 624, 517, 241, 190, 563, 497, 509, 270, 907, 3, 367, 571, 3, 761, 173, 72]
Example Output:
[97, 241, 563, 509, 907, 3, 367, 571, 3, 761, 173]