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: [846, 340, 113, 645, 538]

SOLUTION: [113]

PROBLEM: [47, 751, 519, 643, 520, 807, 409, 749, 175]

SOLUTION: [47, 751, 643, 409]

PROBLEM: [138, 109, 780, 971, 989, 750, 719, 913, 146, 352, 803, 705, 365]

SOLUTION:
[109, 971, 719]