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, 787, 919, 359, 809, 942, 229, 306, 118, 362]
[A]: [113, 787, 919, 359, 809, 229]


[Q]: [427, 347]
[A]: [347]


[Q]: [181, 100, 167, 761, 42, 611, 357, 311, 709, 859, 535, 580, 73, 229, 74, 991, 37, 57, 571, 281]
[A]:
[181, 167, 761, 311, 709, 859, 73, 229, 991, 37, 571, 281]