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.

Q: [67, 363, 587, 770, 345, 79, 4, 280, 661, 839, 954, 59, 56]

A: [67, 587, 79, 661, 839, 59]
****
Q: [509, 677, 199, 641, 706, 601, 533, 320, 171, 423]

A: [509, 677, 199, 641, 601]
****
Q: [387, 89, 211, 27, 487, 20, 472, 233, 524, 265, 29, 785, 504, 587, 726, 560, 643]

A:
[89, 211, 487, 233, 29, 587, 643]
****