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: [113, 787, 919, 359, 809, 942, 229, 306, 118, 362]

SOLUTION: [113, 787, 919, 359, 809, 229]

PROBLEM: [593, 264, 163, 9, 709]

SOLUTION: [593, 163, 709]

PROBLEM: [701, 824, 601, 163, 857, 397, 445, 638, 947, 266, 121, 277, 659, 331, 67, 81, 569]

SOLUTION:
[701, 601, 163, 857, 397, 947, 277, 659, 331, 67, 569]