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.

[333, 661, 946, 587, 112, 677, 463, 537]
[661, 587, 677, 463]

[3, 325, 108, 701, 5, 754, 126, 454, 306, 747, 900, 811, 283, 512, 855, 7, 668, 521, 423]
[3, 701, 5, 811, 283, 7, 521]

[103, 587, 94, 954, 517, 988, 257, 389, 617, 81, 946, 255, 782, 692, 100]

[103, 587, 257, 389, 617]