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: [859, 706, 462, 499, 936, 277, 216, 43, 263, 877, 163, 521, 661, 785, 35, 683]

SOLUTION: [859, 499, 277, 43, 263, 877, 163, 521, 661, 683]

PROBLEM: [941, 701, 867, 167, 601, 75, 91, 620, 677, 907, 991, 118, 491, 550, 310]

SOLUTION: [941, 701, 167, 601, 677, 907, 991, 491]

PROBLEM: [503, 662, 863, 3, 661, 960, 283, 556, 491, 389, 676, 636, 327, 243, 3, 99, 997, 953]

SOLUTION:
[503, 863, 3, 661, 283, 491, 389, 3, 997, 953]