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.

[144, 350]
[]

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

[983, 311, 926, 647, 797, 559, 866, 669, 347, 156, 499, 109, 463, 971, 639, 725]

[983, 311, 647, 797, 347, 499, 109, 463, 971]