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: [797, 409, 66, 829, 162, 179, 257, 329, 613, 127, 714, 919, 409, 563, 797, 149, 3, 599]
Example Output: [797, 409, 829, 179, 257, 613, 127, 919, 409, 563, 797, 149, 3, 599]

Example Input: [67, 363, 587, 770, 345, 79, 4, 280, 661, 839, 954, 59, 56]
Example Output: [67, 587, 79, 661, 839, 59]

Example Input: [547, 457, 947, 54, 102, 35, 364, 787, 211, 710, 371, 269, 751, 199, 136, 491, 218, 197]
Example Output:
[547, 457, 947, 787, 211, 269, 751, 199, 491, 197]