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: [971, 627, 518]

A: [971]
****
Q: [294, 400, 681, 593, 22, 26, 877, 677, 911, 716, 292, 191, 57, 508, 528, 445]

A: [593, 877, 677, 911, 191]
****
Q: [757, 983, 77, 498, 826, 239, 538, 191, 339, 790, 70, 409, 387, 397, 293, 509, 501]

A:
[757, 983, 239, 191, 409, 397, 293, 509]
****