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.

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

Example Input: [459, 947, 647, 300, 157, 268, 388, 463, 470, 533, 838, 22, 461]
Example Output: [947, 647, 157, 463, 461]

Example Input: [283, 378, 412, 607, 76, 167, 431, 591, 263, 776, 353, 700, 673, 637, 876, 269, 182, 499]
Example Output:
[283, 607, 167, 431, 263, 353, 673, 269, 499]