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.

Input: Consider Input: [666, 54, 138, 864, 937, 702, 699, 79, 811, 419, 17, 619, 163, 103, 643, 691]

Output: [937, 79, 811, 419, 17, 619, 163, 103, 643, 691]


Input: Consider Input: [229, 275, 165, 433, 517, 719, 147, 497, 709, 991, 17, 920, 271, 436, 91, 827]

Output: [229, 433, 719, 709, 991, 17, 271, 827]


Input: Consider Input: [240, 829, 3, 643, 239, 59, 658, 157, 85, 151, 265, 301, 417]


Output: [829, 3, 643, 239, 59, 157, 151]