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: [598, 598, 369, 751, 523, 29, 887, 859, 673, 13, 547, 710, 156, 471]

SOLUTION: [751, 523, 29, 887, 859, 673, 13, 547]

PROBLEM: [739, 832, 744, 353, 193, 198, 621, 53, 127, 641, 809, 331, 619, 317, 70, 211, 954]

SOLUTION: [739, 353, 193, 53, 127, 641, 809, 331, 619, 317, 211]

PROBLEM: [536, 628, 688, 288, 829, 487, 557, 101, 236, 479, 139, 804, 254, 241, 906, 538, 960, 15, 114, 383]

SOLUTION:
[829, 487, 557, 101, 479, 139, 241, 383]