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: [61, 43, 541, 142, 727, 137, 367, 718, 50, 664, 709, 829, 199, 134, 473, 657]

SOLUTION: [61, 43, 541, 727, 137, 367, 709, 829, 199]

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

SOLUTION: [971, 521]

PROBLEM: [431, 783, 841, 59, 257, 190, 718, 245, 970, 257, 829]

SOLUTION:
[431, 59, 257, 257, 829]