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: [181, 923, 102, 936, 451, 2, 281, 292, 347, 23, 939]

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

PROBLEM: [71, 89, 331, 23, 350, 510, 617]

SOLUTION: [71, 89, 331, 23, 617]

PROBLEM: [457, 661, 356, 643, 636, 548, 897, 263, 423, 676, 819, 569, 115, 907, 763, 491]

SOLUTION:
[457, 661, 643, 263, 569, 907, 491]