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.
--------
Question: [413, 829, 547, 350, 620, 887, 697, 31, 13]

Answer: [829, 547, 887, 31, 13]


Question: [116, 913, 769, 981, 919, 359, 379]

Answer: [769, 919, 359, 379]


Question: [470, 53, 991, 384, 641, 798, 952, 639, 97, 41, 811, 89, 367, 889, 139]

Answer:
[53, 991, 641, 97, 41, 811, 89, 367, 139]