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.

[871, 360, 588, 719, 599, 719, 461]
[719, 599, 719, 461]

[179, 353, 251, 983, 83, 385, 876, 383, 749, 144, 89, 683, 75, 528, 101, 282, 20, 409, 647, 301]
[179, 353, 251, 983, 83, 383, 89, 683, 101, 409, 647]

[463, 163, 487, 43, 380, 253, 31, 157, 836, 837, 522, 179, 11, 487, 770, 208, 990]

[463, 163, 487, 43, 31, 157, 179, 11, 487]