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.

[678, 34, 45, 450, 271, 227, 885, 65, 53, 438, 967, 730, 739, 519, 379]
[271, 227, 53, 967, 739, 379]

[334, 24, 262, 758, 101, 107, 769]
[101, 107, 769]

[587, 631, 574, 877, 87, 421, 773, 13, 251]

[587, 631, 877, 421, 773, 13, 251]