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: [519, 638, 433, 401]

SOLUTION: [433, 401]

PROBLEM: [785, 523, 728, 936]

SOLUTION: [523]

PROBLEM: [299, 969, 733, 79, 510, 817, 45, 503, 18, 379, 799]

SOLUTION:
[733, 79, 503, 379]