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: [606, 608, 290, 163]

A: [163]
****
Q: [557, 647, 79, 153, 305, 413, 167, 615, 575, 461, 575, 977]

A: [557, 647, 79, 167, 461, 977]
****
Q: [397, 921, 862, 109, 778, 715, 353, 30, 507, 857, 29, 389, 432, 234, 17]

A:
[397, 109, 353, 857, 29, 389, 17]
****