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: [459, 489, 358, 587, 509, 983, 349, 457, 937, 867, 191, 135, 730]

SOLUTION: [587, 509, 983, 349, 457, 937, 191]

PROBLEM: [557, 647, 79, 153, 305, 413, 167, 615, 575, 461, 575, 977]

SOLUTION: [557, 647, 79, 167, 461, 977]

PROBLEM: [167, 390, 719, 778, 673, 939, 421, 841, 317, 689, 959, 927, 97, 3, 59, 571, 389, 212]

SOLUTION:
[167, 719, 673, 421, 317, 97, 3, 59, 571, 389]