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: [431, 617]

A: [431, 617]
****
Q: [179, 353, 251, 983, 83, 385, 876, 383, 749, 144, 89, 683, 75, 528, 101, 282, 20, 409, 647, 301]

A: [179, 353, 251, 983, 83, 383, 89, 683, 101, 409, 647]
****
Q: [865, 601, 967, 803, 710, 535, 2, 136, 223, 329, 12]

A:
[601, 967, 2, 223]
****