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: [229, 31, 937, 953]

SOLUTION: [229, 31, 937, 953]

PROBLEM: [718, 882, 311, 97, 31, 646, 146, 971]

SOLUTION: [311, 97, 31, 971]

PROBLEM: [716, 158, 784, 524, 295, 226, 103, 948, 467, 479, 937, 401, 43, 298, 595, 461, 227, 472, 507, 541]

SOLUTION:
[103, 467, 479, 937, 401, 43, 461, 227, 541]