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]: [107, 301, 149, 503, 541, 9, 496, 191, 937, 89, 449, 949, 40, 655, 924, 121, 709]
[EX A]: [107, 149, 503, 541, 191, 937, 89, 449, 709]

[EX Q]: [894, 721, 554, 468, 114, 43, 804, 266]
[EX A]: [43]

[EX Q]: [968, 199, 571, 929, 5, 101, 11, 395, 971, 443, 316, 19, 965, 677, 257, 638, 797, 646, 241, 281]
[EX A]:
[199, 571, 929, 5, 101, 11, 971, 443, 19, 677, 257, 797, 241, 281]