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: [592, 983, 214, 101, 757, 457, 434, 73, 411, 303, 989, 132, 645, 551, 941, 727, 43, 373]

Answer: [983, 101, 757, 457, 73, 941, 727, 43, 373]


Question: [736, 419, 320, 683, 587, 824]

Answer: [419, 683, 587]


Question: [161, 59, 353, 881, 401, 643]

Answer:
[59, 353, 881, 401, 643]