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.
--------
Question: [147, 733, 887, 923, 197, 499, 311]

Answer: [733, 887, 197, 499, 311]


Question: [5, 465, 374, 41, 891, 118, 960, 175, 937, 211, 227]

Answer: [5, 41, 937, 211, 227]


Question: [187, 686, 814, 44, 817]

Answer: