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: [584, 347, 252, 136, 797, 693, 705, 522, 821, 83, 816, 269]

Output: [347, 797, 821, 83, 269]


Input: Consider Input: [333, 661, 946, 587, 112, 677, 463, 537]

Output: [661, 587, 677, 463]


Input: Consider Input: [870, 137, 127, 71, 468, 234, 109, 919, 777, 668, 207, 666, 874, 175, 531, 928, 144, 37, 182]


Output: [137, 127, 71, 109, 919, 37]