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: [334, 24, 262, 758, 101, 107, 769]

SOLUTION: [101, 107, 769]

PROBLEM: [827, 103, 882, 359, 547, 384, 759, 925, 547, 75, 743]

SOLUTION: [827, 103, 359, 547, 547, 743]

PROBLEM: [158, 917, 227, 191, 340, 44, 17, 977, 897, 848, 396, 311, 373, 113, 467, 883, 875, 443]

SOLUTION:
[227, 191, 17, 977, 311, 373, 113, 467, 883, 443]