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.

[846, 340, 113, 645, 538]
[113]

[309, 638, 673, 582, 779, 25, 971, 448, 223, 574, 571, 389, 619]
[673, 971, 223, 571, 389, 619]

[641, 499, 751, 631, 802, 797, 706, 59, 839, 855, 723, 421, 44, 641, 281]

[641, 499, 751, 631, 797, 59, 839, 421, 641, 281]