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: [131, 821, 95, 47, 227, 364, 470, 512, 798]

SOLUTION: [131, 821, 47, 227]

PROBLEM: [164, 580, 119, 541]

SOLUTION: [541]

PROBLEM: [815, 494, 318, 373, 127, 485, 202, 241, 491, 991, 733, 491, 560, 634]

SOLUTION:
[373, 127, 241, 491, 991, 733, 491]