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: [467, 223, 227, 457, 569, 143, 473]

A: [467, 223, 227, 457, 569]
****
Q: [10, 709]

A: [709]
****
Q: [389, 391, 37, 181, 117, 830, 863, 107, 579, 49, 3, 883, 8, 499, 649, 55, 947, 593]

A:
[389, 37, 181, 863, 107, 3, 883, 499, 947, 593]
****