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: [317, 105, 677, 839]

Output: [317, 677, 839]


Input: Consider Input: [584, 347, 252, 136, 797, 693, 705, 522, 821, 83, 816, 269]

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


Input: Consider Input: [481, 756, 143, 953, 43, 209, 617, 394, 826, 928, 7, 647, 759, 557, 113, 41, 479, 909]


Output: [953, 43, 617, 7, 647, 557, 113, 41, 479]