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: [599, 355, 286, 51, 89, 831, 191, 90]

Answer: [599, 89, 191]


Question: [64, 3, 967, 257, 557, 933, 239, 899, 528, 256, 487, 757, 719, 919, 331, 222]

Answer: [3, 967, 257, 557, 239, 487, 757, 719, 919, 331]


Question: [641, 17, 853, 271, 329, 986, 373, 832]

Answer:
[641, 17, 853, 271, 373]