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: [63, 803, 409, 419, 631, 578, 682, 731, 793, 221, 419, 718, 821]

Answer: [409, 419, 631, 419, 821]


Question: [882, 135, 277, 479, 2, 825, 14, 499, 5, 311]

Answer:
[277, 479, 2, 499, 5, 311]