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: [820, 31, 607, 160, 839, 503, 443, 199, 6, 797, 417, 116, 71, 721]

Answer: [31, 607, 839, 503, 443, 199, 797, 71]


Question: [503, 263, 421, 45, 688, 452, 757, 167, 201, 112, 683, 496, 53, 23, 576, 875, 233, 207, 614, 342]

Answer: [503, 263, 421, 757, 167, 683, 53, 23, 233]


Question: [612, 929, 991, 153, 751, 327, 35, 265, 505, 5, 647, 547, 743, 907, 872, 137, 955, 41, 479, 778]

Answer:
[929, 991, 751, 5, 647, 547, 743, 907, 137, 41, 479]