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: [509, 677, 199, 641, 706, 601, 533, 320, 171, 423]

SOLUTION: [509, 677, 199, 641, 601]

PROBLEM: [598, 667, 772, 975]

SOLUTION: []

PROBLEM: [688, 172, 288, 599, 659, 600, 809, 349, 139, 326, 599, 494, 879, 735]

SOLUTION:
[599, 659, 809, 349, 139, 599]