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: [647, 653, 812, 761, 304, 929, 83]

SOLUTION: [647, 653, 761, 929, 83]

PROBLEM: [109, 492, 241, 494, 181, 129, 480, 149]

SOLUTION: [109, 241, 181, 149]

PROBLEM: [557, 318, 114, 751, 997]

SOLUTION:
[557, 751, 997]