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.

[171, 599, 773, 739, 652, 480, 857, 673, 881, 647]
[599, 773, 739, 857, 673, 881, 647]

[71, 881, 79, 511, 158, 911, 814, 536, 661, 203, 847, 89]
[71, 881, 79, 911, 661, 89]

[479, 709, 321, 34, 644, 514, 523, 630, 307, 810, 565, 547, 643, 633]

[479, 709, 523, 307, 547, 643]