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: [787, 529, 691, 467, 779, 154, 983, 919, 925, 313, 859, 353]

Answer: [787, 691, 467, 983, 919, 313, 859, 353]


Question: [947, 445, 521, 643]

Answer: [947, 521, 643]


Question: [191, 739, 59, 937, 923, 806, 569, 8, 877, 314, 17, 503, 521, 56, 976, 366, 450, 383, 653, 654]

Answer:
[191, 739, 59, 937, 569, 877, 17, 503, 521, 383, 653]