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.

[967, 195, 783, 773, 347]
[967, 773, 347]

[600, 153, 463]
[463]

[167, 883, 631, 5, 701, 649, 139, 622, 641, 971, 630, 263, 877]

[167, 883, 631, 5, 701, 139, 641, 971, 263, 877]