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]: [619, 270, 881, 373, 701, 845, 997, 968, 398, 707, 643, 239, 307]
[A]: [619, 881, 373, 701, 997, 643, 239, 307]


[Q]: [316, 281, 449, 870, 266]
[A]: [281, 449]


[Q]: [31, 476, 989, 751, 863, 666, 885, 117, 908, 131, 232, 568, 874, 557, 50, 587, 401, 884]
[A]:
[31, 751, 863, 131, 557, 587, 401]