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: [627, 835, 629, 401, 577, 61, 369, 257]

A: [401, 577, 61, 257]
****
Q: [67, 363, 587, 770, 345, 79, 4, 280, 661, 839, 954, 59, 56]

A: [67, 587, 79, 661, 839, 59]
****
Q: [96, 739, 70, 871, 631, 281, 197, 643, 421, 167, 83, 172, 19, 513]

A:
[739, 631, 281, 197, 643, 421, 167, 83, 19]
****