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: [354, 255, 239, 293, 733, 350, 733, 41, 541, 813, 683, 688, 3, 581]

Answer: [239, 293, 733, 733, 41, 541, 683, 3]


Question: [710, 521, 814, 907, 311, 346, 751, 929, 79, 175, 582, 991, 716]

Answer: [521, 907, 311, 751, 929, 79, 991]


Question: [105, 337, 665, 717, 314, 613, 389, 158, 260, 77, 635, 277, 233, 65, 89, 941, 937, 173, 56, 185]

Answer:
[337, 613, 389, 277, 233, 89, 941, 937, 173]