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: [813, 383, 873, 873, 409, 644, 293, 271, 80, 887, 940, 435, 844]

A: [383, 409, 293, 271, 887]
****
Q: [649, 709, 683, 487]

A: [709, 683, 487]
****
Q: [811, 555, 599, 131, 792, 298, 291, 792, 777, 77, 857, 632, 329, 24, 467, 223, 260, 360, 577]

A:
[811, 599, 131, 857, 467, 223, 577]
****