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: [227, 154, 213, 479, 326, 15, 554, 110, 81, 301, 17, 173, 479]

SOLUTION: [227, 479, 17, 173, 479]

PROBLEM: [539, 701, 335, 461, 297, 975, 266, 479, 366, 199, 337, 415, 331, 874, 512, 47]

SOLUTION:
[701, 461, 479, 199, 337, 331, 47]