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]

[557, 44, 409, 937, 293]
[557, 409, 937, 293]

[748, 751, 157, 688, 10, 53, 565, 829, 630, 570, 719, 107, 335, 918, 5]

[751, 157, 53, 829, 719, 107, 5]