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: [907, 790, 3, 704, 336, 134, 862, 500, 732, 245, 332, 179]

SOLUTION: [907, 3, 179]

PROBLEM: [181, 923, 102, 936, 451, 2, 281, 292, 347, 23, 939]

SOLUTION: [181, 2, 281, 347, 23]

PROBLEM: [877, 739, 552, 227]

SOLUTION:
[877, 739, 227]