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: [649, 709, 683, 487]

Answer: [709, 683, 487]


Question: [853, 481, 479, 919]

Answer: [853, 479, 919]


Question: [949, 671, 631, 137, 47, 73, 688, 180, 577, 276, 164, 821, 251, 471, 548, 887, 812, 270, 83]

Answer:
[631, 137, 47, 73, 577, 821, 251, 887, 83]