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.

[147, 733, 887, 923, 197, 499, 311]
[733, 887, 197, 499, 311]

[109, 169, 114, 103, 199, 557, 980, 234]
[109, 103, 199, 557]

[859, 439, 349, 191, 472, 97]

[859, 439, 349, 191, 97]