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]: [846, 340, 113, 645, 538]
[A]: [113]


[Q]: [337, 264, 776, 201, 33, 29, 211, 601, 103, 461, 330, 61, 211, 929, 202, 907, 117]
[A]: [337, 29, 211, 601, 103, 461, 61, 211, 929, 907]


[Q]: [391, 509, 349, 229, 263, 916]
[A]:
[509, 349, 229, 263]