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: [766, 653]

A: [653]
****
Q: [619, 270, 881, 373, 701, 845, 997, 968, 398, 707, 643, 239, 307]

A: [619, 881, 373, 701, 997, 643, 239, 307]
****
Q: [829, 23, 717, 569, 401, 881, 957, 311, 774, 974, 7, 727, 166, 557, 576, 120]

A:
[829, 23, 569, 401, 881, 311, 7, 727, 557]
****