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: [360, 345, 83, 731, 67, 997, 491, 838, 151, 92, 945, 178, 118, 225, 313, 997, 625, 725]

Answer: [83, 67, 997, 491, 151, 313, 997]


Question: [284, 952, 456, 622, 59, 911, 380, 829, 151, 723, 524, 739, 2]

Answer: [59, 911, 829, 151, 739, 2]


Question: [471, 681, 821, 868, 601, 547, 937, 157, 937]

Answer:
[821, 601, 547, 937, 157, 937]