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: [153, 556, 439, 760, 612, 174, 511, 334, 823, 843]

A: [439, 823]
****
Q: [181, 923, 102, 936, 451, 2, 281, 292, 347, 23, 939]

A: [181, 2, 281, 347, 23]
****
Q: [184, 733, 461, 815, 98, 425, 547, 170, 807, 190, 823, 641, 24]

A:
[733, 461, 547, 823, 641]
****