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: [736, 419, 320, 683, 587, 824]

SOLUTION: [419, 683, 587]

PROBLEM: [269, 347, 937, 36, 521, 363, 643, 461, 402]

SOLUTION: [269, 347, 937, 521, 643, 461]

PROBLEM: [577, 739, 683, 23, 641, 257, 955, 409, 683, 512, 864, 332, 233, 37, 641, 504, 73, 865, 824, 153]

SOLUTION:
[577, 739, 683, 23, 641, 257, 409, 683, 233, 37, 641, 73]