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: [904, 73, 539, 689, 227, 383, 26, 139, 787, 223, 887, 43, 821, 877, 510, 347, 307, 253, 54]

SOLUTION: [73, 227, 383, 139, 787, 223, 887, 43, 821, 877, 347, 307]

PROBLEM: [707, 953, 72, 201, 127, 943, 110, 359, 59, 13, 863, 907]

SOLUTION: [953, 127, 359, 59, 13, 863, 907]

PROBLEM: [557, 647, 79, 153, 305, 413, 167, 615, 575, 461, 575, 977]

SOLUTION:
[557, 647, 79, 167, 461, 977]