TASK DEFINITION: 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.
PROBLEM: [866, 57, 828, 649, 215, 560, 149, 410, 191, 131, 151, 191, 781, 522, 861, 641, 566, 61]

SOLUTION: [149, 191, 131, 151, 191, 641, 61]

PROBLEM: [651, 21, 86, 761, 152, 461, 405]

SOLUTION: [761, 461]

PROBLEM: [431, 372, 470, 699, 82, 222, 653, 550, 293, 424, 863, 499]

SOLUTION:
[431, 653, 293, 863, 499]