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: [837, 552, 350, 475, 88, 138, 351, 337, 433, 937, 607, 684, 551, 948, 461, 724, 45, 71]

Answer: [337, 433, 937, 607, 461, 71]


Question: [523, 863, 731, 285, 686, 547, 265]

Answer:
[523, 863, 547]