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: [476, 265, 147, 972, 53, 107, 151, 577, 619, 433]

Output: [53, 107, 151, 577, 619, 433]


Input: Consider Input: [511, 250, 811, 874, 37]

Output: [811, 37]


Input: Consider Input: [570, 482, 512, 72, 31, 498, 523, 904, 145, 218, 953, 109, 523, 88, 137]


Output: [31, 523, 953, 109, 523, 137]