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: [333, 661, 946, 587, 112, 677, 463, 537]

SOLUTION: [661, 587, 677, 463]

PROBLEM: [397, 591, 71, 73, 397, 137, 43, 966, 592, 79, 641, 672, 925, 19, 853]

SOLUTION: [397, 71, 73, 397, 137, 43, 79, 641, 19, 853]

PROBLEM: [977, 905, 7, 743, 926, 397, 737, 241, 277, 944, 465]

SOLUTION:
[977, 7, 743, 397, 241, 277]