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: [179, 823]
Example Output: [179, 823]

Example Input: [946, 59, 941, 480, 379, 877, 11, 544, 306, 409]
Example Output: [59, 941, 379, 877, 11, 409]

Example Input: [329, 88, 487, 651, 263, 473, 260, 47, 571, 271, 179, 727, 917, 59, 270, 967, 592, 281, 661]
Example Output:
[487, 263, 47, 571, 271, 179, 727, 59, 967, 281, 661]