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]: [723, 487, 743, 601, 263, 209, 948, 756, 553, 709, 426, 634, 756, 293, 727, 481, 433]
[EX A]: [487, 743, 601, 263, 709, 293, 727, 433]

[EX Q]: [846, 535, 227, 194, 404, 76, 821, 954, 929, 821, 838, 609, 47, 857, 84, 911, 563, 597]
[EX A]:
[227, 821, 929, 821, 47, 857, 911, 563]