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: [601, 594, 2, 341, 314, 179, 794, 751, 743, 137, 823, 97, 839, 973, 455, 565]

A: [601, 2, 179, 751, 743, 137, 823, 97, 839]
****
Q: [73, 692, 149, 557, 400, 358, 11, 790, 577, 288, 89, 911, 244, 128, 706, 401, 886, 947]

A: [73, 149, 557, 11, 577, 89, 911, 401, 947]
****
Q: [165, 179, 401, 757, 215, 274, 413, 418, 216, 3, 269, 625, 875, 334]

A:
[179, 401, 757, 3, 269]
****