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]: [113, 395, 829, 691, 315]
[A]: [113, 829, 691]


[Q]: [5, 127, 864]
[A]: [5, 127]


[Q]: [101, 883, 592, 441, 223, 83, 7, 875, 569, 797]
[A]:
[101, 883, 223, 83, 7, 569, 797]