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.

Ex Input:
[5, 127, 864]

Ex Output:
[5, 127]


Ex Input:
[337, 76, 431, 311, 78, 785, 181, 373, 832, 18]

Ex Output:
[337, 431, 311, 181, 373]


Ex Input:
[125, 816, 654, 733, 52, 570, 545, 208, 65, 647, 269, 282, 139, 329, 157, 463, 822, 821, 127]

Ex Output:

[733, 647, 269, 139, 157, 463, 821, 127]