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: [353, 953, 99, 641, 787, 160, 593, 269, 302, 315, 894, 846, 353, 461]

SOLUTION: [353, 953, 641, 787, 593, 269, 353, 461]

PROBLEM: [428, 494, 971, 521, 358, 260, 91, 429, 540, 846, 458, 279, 228]

SOLUTION: [971, 521]

PROBLEM: [786, 316, 250, 560, 265, 946, 571, 157, 779]

SOLUTION:
[571, 157]