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: [894, 950, 599, 863, 124, 19, 680, 877, 251, 176, 971, 61, 727, 300, 521, 467, 251, 659, 929]

Output: [599, 863, 19, 877, 251, 971, 61, 727, 521, 467, 251, 659, 929]


Input: Consider Input: [598, 598, 369, 751, 523, 29, 887, 859, 673, 13, 547, 710, 156, 471]

Output: [751, 523, 29, 887, 859, 673, 13, 547]


Input: Consider Input: [896, 773, 127, 602]


Output: [773, 127]