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: [971, 627, 518]

Answer: [971]


Question: [557, 757]

Answer: [557, 757]


Question: [233, 401, 937, 503, 937, 18, 151, 803, 761, 13, 567, 959, 729, 673, 571, 713, 193, 609]

Answer:
[233, 401, 937, 503, 937, 151, 761, 13, 673, 571, 193]