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: [711, 250, 653]

SOLUTION: [653]

PROBLEM: [509, 677, 199, 641, 706, 601, 533, 320, 171, 423]

SOLUTION: [509, 677, 199, 641, 601]

PROBLEM: [836, 189, 701, 43, 300, 700, 281, 227, 797, 974, 320, 927, 131, 977, 324, 508, 359, 483]

SOLUTION:
[701, 43, 281, 227, 797, 131, 977, 359]