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: [587, 743, 125, 314, 449, 167, 328, 140, 172, 595, 97, 932, 381, 73, 197]

A: [587, 743, 449, 167, 97, 73, 197]
****
Q: [170, 379, 201, 320, 821, 364, 113, 561, 683, 494, 351, 243, 96, 646, 73, 35, 531, 693, 669]

A: [379, 821, 113, 683, 73]
****
Q: [896, 167, 431, 683, 358, 740, 408, 142, 632, 398, 675, 613, 589, 197, 305, 417, 19, 317, 361, 43]

A:
[167, 431, 683, 613, 197, 19, 317, 43]
****