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: [284, 952, 456, 622, 59, 911, 380, 829, 151, 723, 524, 739, 2]

SOLUTION: [59, 911, 829, 151, 739, 2]

PROBLEM: [7, 541, 25, 520, 557, 439, 40, 113]

SOLUTION: [7, 541, 557, 439, 113]

PROBLEM: [437, 451, 269, 116, 558, 376, 577, 733, 288, 610, 557, 390, 389, 367]

SOLUTION:
[269, 577, 733, 557, 389, 367]