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: [909, 9, 174, 638, 676, 789, 93, 462, 970, 239, 496, 973, 797, 801, 332, 285, 310]

SOLUTION: [239, 797]

PROBLEM: [31, 359, 489, 385, 15, 463, 699, 353, 496, 924, 778, 229, 127]

SOLUTION: [31, 359, 463, 353, 229, 127]

PROBLEM: [696, 60, 809, 803, 183, 739, 223, 617, 989, 622, 60, 19, 436, 149, 719, 656, 298]

SOLUTION:
[809, 739, 223, 617, 19, 149, 719]