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.

[Q]: [824, 359, 113, 647, 433, 879, 761, 958, 626, 11, 331, 151, 387, 408, 18]
[A]: [359, 113, 647, 433, 761, 11, 331, 151]


[Q]: [113, 395, 829, 691, 315]
[A]: [113, 829, 691]


[Q]: [703, 877, 776, 67, 167, 480, 857, 616, 715, 603, 607, 317, 247, 708]
[A]:
[877, 67, 167, 857, 607, 317]