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: [723, 791, 587, 73, 601, 733, 842, 277, 983]

SOLUTION: [587, 73, 601, 733, 277, 983]

PROBLEM: [65, 211, 397, 167, 397, 213]

SOLUTION: [211, 397, 167, 397]

PROBLEM: [859, 51, 463, 617, 747, 276, 311, 145, 851, 571, 985, 821, 419, 779]

SOLUTION:
[859, 463, 617, 311, 571, 821, 419]