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: [613, 678, 877, 795, 945, 335, 300, 987, 590, 596, 775]

A: [613, 877]
****
Q: [429, 229, 257, 395, 119, 827, 737, 751, 803, 523, 131, 319]

A: [229, 257, 827, 751, 523, 131]
****
Q: [189, 503, 859, 197, 71, 160, 297, 101, 384, 331, 947, 248, 979, 317]

A:
[503, 859, 197, 71, 101, 331, 947, 317]
****