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.

Input: Consider Input: [859, 706, 462, 499, 936, 277, 216, 43, 263, 877, 163, 521, 661, 785, 35, 683]

Output: [859, 499, 277, 43, 263, 877, 163, 521, 661, 683]


Input: Consider Input: [429, 229, 257, 395, 119, 827, 737, 751, 803, 523, 131, 319]

Output: [229, 257, 827, 751, 523, 131]


Input: Consider Input: [829, 347, 666, 987, 842, 587, 751, 312, 298, 617, 421, 378, 519, 970]


Output: [829, 347, 587, 751, 617, 421]