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.

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

[EX Q]: [965, 448, 466, 509, 911, 379, 462, 313, 379, 7, 516, 5, 285, 918]
[EX A]: [509, 911, 379, 313, 379, 7, 5]

[EX Q]: [102, 128, 513, 11, 864, 790, 579, 718, 157, 583, 662, 659]
[EX A]:
[11, 157, 659]