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.

[947, 445, 521, 643]
[947, 521, 643]

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

[532, 127, 359, 809, 229, 107, 865, 193, 887, 752, 877, 149, 790, 548, 616, 641, 276, 880, 523]

[127, 359, 809, 229, 107, 193, 887, 877, 149, 641, 523]