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]: [237, 563, 292]
[EX A]: [563]

[EX Q]: [487, 618, 757, 427, 757, 461, 86, 263, 911, 954, 447, 445, 866, 67, 248, 959, 833, 412]
[EX A]: [487, 757, 757, 461, 263, 911, 67]

[EX Q]: [224, 753, 941, 629, 880, 910, 288, 877, 997, 799, 73, 840, 79, 257, 339, 733, 453, 402, 271, 2]
[EX A]:
[941, 877, 997, 73, 79, 257, 733, 271, 2]