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: [521, 579, 647, 383, 266, 41, 698, 886, 839, 888]

Output: [521, 647, 383, 41, 839]


Input: Consider Input: [71, 89, 331, 23, 350, 510, 617]

Output: [71, 89, 331, 23, 617]


Input: Consider Input: [877, 34, 427, 424, 163, 977, 164, 430, 969, 80, 811, 621, 111, 587, 210, 372, 971]


Output: [877, 163, 977, 811, 587, 971]