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.

[509, 947, 32, 105, 458, 629, 920, 137, 967]
[509, 947, 137, 967]

[829, 371, 377, 497, 839, 5, 653, 617, 907, 867, 827, 350, 399, 947, 483, 601, 577]
[829, 839, 5, 653, 617, 907, 827, 947, 601, 577]

[183, 583, 533, 23, 271, 59, 823, 239, 736, 233, 223, 181, 557]

[23, 271, 59, 823, 239, 233, 223, 181, 557]