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: [947, 439, 241, 143, 179, 397, 239, 809, 702, 5, 739, 853, 62, 443, 181, 495, 557, 151]

SOLUTION: [947, 439, 241, 179, 397, 239, 809, 5, 739, 853, 443, 181, 557, 151]

PROBLEM: [892, 137, 691, 653, 857]

SOLUTION: [137, 691, 653, 857]

PROBLEM: [583, 757, 180, 934, 461, 653, 167, 305, 577, 477, 359, 460, 664, 852, 67, 459, 716, 457, 356, 676]

SOLUTION:
[757, 461, 653, 167, 577, 359, 67, 457]