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: [237, 563, 292]

SOLUTION: [563]

PROBLEM: [131, 821, 95, 47, 227, 364, 470, 512, 798]

SOLUTION: [131, 821, 47, 227]

PROBLEM: [931, 953, 816, 43, 251, 373, 683, 24, 401, 832, 883, 590]

SOLUTION:
[953, 43, 251, 373, 683, 401, 883]