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: [461, 747, 645, 630, 440, 809, 652, 190, 863, 748, 764, 4, 443, 828, 973, 741, 676, 907, 874, 269]

SOLUTION: [461, 809, 863, 443, 907, 269]

PROBLEM: [217, 895, 596, 499, 273, 479, 743, 31, 67, 392, 811, 432, 549, 723, 701, 229]

SOLUTION: [499, 479, 743, 31, 67, 811, 701, 229]

PROBLEM: [120, 509]

SOLUTION:
[509]