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: [59, 422, 78, 582, 358, 876, 958, 659, 757, 24, 967, 746, 301]

Answer: [59, 659, 757, 967]


Question: [89, 557, 545]

Answer: [89, 557]


Question: [957, 504, 17, 367, 34, 293, 827, 196, 547, 757, 761, 566, 888, 601, 456, 748, 13, 560, 825, 541]

Answer:
[17, 367, 293, 827, 547, 757, 761, 601, 13, 541]