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]: [853, 367, 659, 139, 563]
[EX A]: [853, 367, 659, 139, 563]

[EX Q]: [229, 347, 619, 904, 521, 868, 367, 45, 241]
[EX A]: [229, 347, 619, 521, 367, 241]

[EX Q]: [373, 383, 412, 897, 195, 154, 539, 707, 769, 707, 587, 951, 527, 157, 880, 11, 184, 701, 666]
[EX A]:
[373, 383, 769, 587, 157, 11, 701]