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.

Q: [734, 982]

A: []
****
Q: [503, 827, 191, 80, 171, 965, 634, 796, 962]

A: [503, 827, 191]
****
Q: [138, 251, 106, 947, 443, 966, 977, 915, 433, 641, 780, 873, 521, 614, 647, 67, 234, 883]

A:
[251, 947, 443, 977, 433, 641, 521, 647, 67, 883]
****