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: [785, 523, 728, 936]

SOLUTION: [523]

PROBLEM: [235, 863, 577, 67]

SOLUTION: [863, 577, 67]

PROBLEM: [116, 160, 349, 349, 840, 144, 446, 211, 419, 847, 937, 427, 929, 269]

SOLUTION:
[349, 349, 211, 419, 937, 929, 269]