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: [814, 5, 3, 289, 833, 197, 359, 598, 271, 743, 838, 411, 344, 469, 3]

A: [5, 3, 197, 359, 271, 743, 3]
****
Q: [673, 941, 291]

A: [673, 941]
****
Q: [117, 581, 19, 20, 124, 184, 259, 251, 98, 468, 473, 683, 167]

A:
[19, 251, 683, 167]
****