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: [463, 190, 727, 283, 784]

Answer: [463, 727, 283]


Question: [36, 180, 367, 299, 518, 619, 669, 294]

Answer: [367, 619]


Question: [442, 78, 51, 191, 859, 163, 53, 41, 139, 661, 599, 654, 313, 307, 691, 548, 599, 7]

Answer:
[191, 859, 163, 53, 41, 139, 661, 599, 313, 307, 691, 599, 7]