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: [304, 379, 524, 36, 479, 64, 724, 267, 881, 840]

A:
[379, 479, 881]
****