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: [45, 223, 486, 353, 55, 618, 179, 199, 97]

SOLUTION: [223, 353, 179, 199, 97]

PROBLEM: [607, 793, 817, 577, 578, 379, 47, 769, 442]

SOLUTION: [607, 577, 379, 47, 769]

PROBLEM: [709, 204, 467, 123, 615, 710, 861, 376, 238, 199, 31, 397]

SOLUTION:
[709, 467, 199, 31, 397]