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: [340, 281, 783, 342, 795, 593]

SOLUTION: [281, 593]

PROBLEM: [104, 191, 709, 245, 433, 937, 324, 619, 62, 25, 719, 404, 867, 146, 709, 431, 481]

SOLUTION: [191, 709, 433, 937, 619, 719, 709, 431]

PROBLEM: [347, 166, 292, 290, 439, 773, 83, 718, 443, 478, 60, 881, 743, 280, 942, 881, 283, 773, 607, 29]

SOLUTION:
[347, 439, 773, 83, 443, 881, 743, 881, 283, 773, 607, 29]