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: [459, 489, 358, 587, 509, 983, 349, 457, 937, 867, 191, 135, 730]

Answer: [587, 509, 983, 349, 457, 937, 191]


Question: [383, 337, 697, 193]

Answer: [383, 337, 193]


Question: [787, 624, 433, 728, 940, 781, 683, 506, 245, 414, 859, 463]

Answer:
[787, 433, 683, 859, 463]