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: [967, 853, 227, 73, 727, 741, 757, 413, 269, 864, 61, 427, 403, 863, 307, 417]

SOLUTION: [967, 853, 227, 73, 727, 757, 269, 61, 863, 307]

PROBLEM: [67, 363, 587, 770, 345, 79, 4, 280, 661, 839, 954, 59, 56]

SOLUTION: [67, 587, 79, 661, 839, 59]

PROBLEM: [967, 547, 457, 85, 757, 193, 331, 360, 739, 991, 413, 77, 61, 883, 442, 223, 426, 929, 569, 682]

SOLUTION:
[967, 547, 457, 757, 193, 331, 739, 991, 61, 883, 223, 929, 569]