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.

[429, 229, 257, 395, 119, 827, 737, 751, 803, 523, 131, 319]
[229, 257, 827, 751, 523, 131]

[706, 887, 881, 918, 166, 124, 965, 754, 566, 62, 257, 520]
[887, 881, 257]

[814, 5, 3, 289, 833, 197, 359, 598, 271, 743, 838, 411, 344, 469, 3]

[5, 3, 197, 359, 271, 743, 3]