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, 947, 647, 300, 157, 268, 388, 463, 470, 533, 838, 22, 461]

Answer: [947, 647, 157, 463, 461]


Question: [521, 43, 463, 686, 213, 356, 641, 631, 769, 665, 251, 367, 191, 863, 359, 899, 68]

Answer: [521, 43, 463, 641, 631, 769, 251, 367, 191, 863, 359]


Question: [147, 733, 887, 923, 197, 499, 311]

Answer:
[733, 887, 197, 499, 311]