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.

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

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

[787, 811]

[787, 811]