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]: [179, 353, 251, 983, 83, 385, 876, 383, 749, 144, 89, 683, 75, 528, 101, 282, 20, 409, 647, 301]
[EX A]: [179, 353, 251, 983, 83, 383, 89, 683, 101, 409, 647]

[EX Q]: [142, 269, 33, 912, 908, 784, 414, 883, 337, 582, 727]
[EX A]: [269, 883, 337, 727]

[EX Q]: [641, 242, 997, 27, 377, 766, 673, 433, 382, 544, 840, 317]
[EX A]:
[641, 997, 673, 433, 317]