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]: [558, 559, 356, 277, 643, 859, 733, 859, 617]
[EX A]: [277, 643, 859, 733, 859, 617]

[EX Q]: [521, 43, 463, 686, 213, 356, 641, 631, 769, 665, 251, 367, 191, 863, 359, 899, 68]
[EX A]: [521, 43, 463, 641, 631, 769, 251, 367, 191, 863, 359]

[EX Q]: [829, 672, 251, 37, 685, 631, 732, 404, 701, 251, 980, 907, 438, 844, 230, 740, 163, 569, 420]
[EX A]:
[829, 251, 37, 631, 701, 251, 907, 163, 569]