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.

[413, 829, 547, 350, 620, 887, 697, 31, 13]
[829, 547, 887, 31, 13]

[503, 263, 421, 45, 688, 452, 757, 167, 201, 112, 683, 496, 53, 23, 576, 875, 233, 207, 614, 342]
[503, 263, 421, 757, 167, 683, 53, 23, 233]

[488, 881, 394, 539, 593, 736, 96, 571, 307, 457, 905, 53, 944, 817, 341, 257]

[881, 593, 571, 307, 457, 53, 257]