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.

[31, 537, 357, 400, 919]
[31, 919]

[839, 111, 126, 923, 467, 379, 46, 788, 157, 128, 263, 107, 423, 59, 911]
[839, 467, 379, 157, 263, 107, 59, 911]

[83, 823, 518, 401, 809, 250, 502, 283, 99, 37, 748, 193, 504]

[83, 823, 401, 809, 283, 37, 193]