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.

[EX Q]: [598, 667, 772, 975]
[EX A]: []

[EX Q]: [248, 491, 148, 353, 29, 919, 900, 197, 601, 265]
[EX A]: [491, 353, 29, 919, 197, 601]

[EX Q]: [604, 522, 331, 168, 934, 115, 283, 509, 379, 299, 638, 477, 461, 210]
[EX A]:
[331, 283, 509, 379, 461]