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: [314, 877, 967, 639, 858, 967, 570, 73, 797, 571, 761, 986, 11, 373, 268, 531, 997, 495, 983]

Answer: [877, 967, 967, 73, 797, 571, 761, 11, 373, 997, 983]


Question: [104, 191, 709, 245, 433, 937, 324, 619, 62, 25, 719, 404, 867, 146, 709, 431, 481]

Answer: [191, 709, 433, 937, 619, 719, 709, 431]


Question: [777, 361, 257, 269, 445, 941, 625, 523]

Answer:
[257, 269, 941, 523]