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.

[601, 594, 2, 341, 314, 179, 794, 751, 743, 137, 823, 97, 839, 973, 455, 565]
[601, 2, 179, 751, 743, 137, 823, 97, 839]

[163, 79, 336, 538, 94, 401, 367, 947, 181, 863, 436, 557, 878, 113, 67, 149, 521, 893, 541]
[163, 79, 401, 367, 947, 181, 863, 557, 113, 67, 149, 521, 541]

[641, 326, 353, 984, 357, 318, 103, 171, 707, 18, 733, 997, 786, 763, 21, 510, 254, 765, 541, 7]

[641, 353, 103, 733, 997, 541, 7]