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: [659, 536, 569, 911, 677, 27, 549, 359, 547, 89]

SOLUTION: [659, 569, 911, 677, 359, 547, 89]

PROBLEM: [845, 461, 381, 2, 248, 7, 223, 999]

SOLUTION: [461, 2, 7, 223]

PROBLEM: [583, 482, 780, 971, 229, 601, 117, 71, 322, 523, 563, 727, 840, 89, 968]

SOLUTION:
[971, 229, 601, 71, 523, 563, 727, 89]