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: [971, 627, 518]

SOLUTION: [971]

PROBLEM: [311, 857, 926, 175, 3, 815, 883, 521, 991, 829, 439, 666, 4, 17, 777, 930, 857, 867, 439]

SOLUTION: [311, 857, 3, 883, 521, 991, 829, 439, 17, 857, 439]

PROBLEM: [916, 709, 727, 653, 175, 193, 971, 293, 343, 631, 601, 229, 587, 511, 215, 751, 311, 5, 428]

SOLUTION:
[709, 727, 653, 193, 971, 293, 631, 601, 229, 587, 751, 311, 5]