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: [598, 667, 772, 975]

Output: []


Input: Consider Input: [453, 32, 28, 2, 311, 103, 107, 92]

Output: [2, 311, 103, 107]


Input: Consider Input: [676, 73, 101, 613, 308, 383, 247, 852, 673, 811, 547, 827, 997, 782, 508, 317, 848, 426, 831]


Output: [73, 101, 613, 383, 673, 811, 547, 827, 997, 317]