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: [431, 617]

SOLUTION: [431, 617]

PROBLEM: [73, 216, 83, 895, 980, 257, 708, 181, 397, 292, 562, 247, 942, 609, 773, 725, 39, 370, 821, 769]

SOLUTION: [73, 83, 257, 181, 397, 773, 821, 769]

PROBLEM: [837, 504, 659, 346, 357, 520, 588, 733, 968, 996, 283, 583, 680, 887, 981, 276, 151, 797, 724]

SOLUTION:
[659, 733, 283, 887, 151, 797]