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.

[358, 848]
[]

[151, 634, 90, 92, 71, 710, 461, 241, 729, 980, 211, 3]
[151, 71, 461, 241, 211, 3]

[982, 141, 293, 848, 279, 400, 988, 408, 301, 211, 877, 349, 558, 903, 617, 791]

[293, 211, 877, 349, 617]