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: [461, 747, 645, 630, 440, 809, 652, 190, 863, 748, 764, 4, 443, 828, 973, 741, 676, 907, 874, 269]

A: [461, 809, 863, 443, 907, 269]
****
Q: [941, 997, 196, 131, 660, 433, 544, 359, 761, 213, 359, 704, 381]

A:
[941, 997, 131, 433, 359, 761, 359]
****