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]: [781, 463, 727, 877, 537, 401, 401, 199, 280, 163, 739]
[EX A]: [463, 727, 877, 401, 401, 199, 163, 739]

[EX Q]: [710, 521, 814, 907, 311, 346, 751, 929, 79, 175, 582, 991, 716]
[EX A]: [521, 907, 311, 751, 929, 79, 991]

[EX Q]: [913, 43, 43, 874, 742, 942, 882, 443, 571, 188, 463, 223]
[EX A]:
[43, 43, 443, 571, 463, 223]