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: [859, 706, 462, 499, 936, 277, 216, 43, 263, 877, 163, 521, 661, 785, 35, 683]
Example Output: [859, 499, 277, 43, 263, 877, 163, 521, 661, 683]

Example Input: [235, 863, 577, 67]
Example Output: [863, 577, 67]

Example Input: [788, 166, 218, 41, 664, 929, 384, 643, 988, 50, 442, 509, 461]
Example Output:
[41, 929, 643, 509, 461]