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.

[251, 393, 405, 829, 392, 227, 47, 108]
[251, 829, 227, 47]

[557, 757]
[557, 757]

[863, 177, 369, 507, 324, 311, 77, 29, 919, 19, 609, 198, 649, 149, 40, 864, 802, 293, 439]

[863, 311, 29, 919, 19, 149, 293, 439]