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: [906, 608]

A: []
****
Q: [613, 678, 877, 795, 945, 335, 300, 987, 590, 596, 775]

A: [613, 877]
****
Q: [419, 238, 643, 581, 380, 161, 509, 491, 103, 607, 980, 594, 278, 347]

A:
[419, 643, 509, 491, 103, 607, 347]
****