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]: [876, 173, 936, 929, 806, 360, 103, 114, 622, 690, 813, 540, 599]
[EX A]: [173, 929, 103, 599]

[EX Q]: [449, 369, 439, 827, 782, 258, 684, 821, 530, 613, 883, 479, 475]
[EX A]: [449, 439, 827, 821, 613, 883, 479]

[EX Q]: [470, 367, 353, 127, 434, 317, 479, 338, 947, 352, 31, 112, 593]
[EX A]:
[367, 353, 127, 317, 479, 947, 31, 593]