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: [350, 569, 417, 498, 34, 831, 919, 67, 131, 5, 607, 47, 543, 465, 787, 713, 631]

SOLUTION: [569, 919, 67, 131, 5, 607, 47, 787, 631]

PROBLEM: [278, 47, 582, 521, 246, 277, 143, 993, 135, 367, 19, 862, 241, 235, 380, 107, 311, 837]

SOLUTION: [47, 521, 277, 367, 19, 241, 107, 311]

PROBLEM: [673, 838, 97, 809, 279, 337, 735, 631, 443, 733, 193, 743, 307]

SOLUTION:
[673, 97, 809, 337, 631, 443, 733, 193, 743, 307]