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]: [971, 627, 518]
[EX A]: [971]

[EX Q]: [911, 503, 271, 226, 719, 507, 342, 317, 121, 761, 770]
[EX A]: [911, 503, 271, 719, 317, 761]

[EX Q]: [643, 983, 516, 296, 13, 449, 562, 29, 823, 727, 905, 555, 653, 452, 281, 318, 467, 863, 463, 863]
[EX A]:
[643, 983, 13, 449, 29, 823, 727, 653, 281, 467, 863, 463, 863]