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: [103, 979, 649, 761, 707, 967, 60, 369, 769, 142, 62, 84, 919, 213, 46, 640, 675, 709]

Answer: [103, 761, 967, 769, 919, 709]


Question: [628, 599, 769, 5]

Answer: [599, 769, 5]


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]