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: [642, 557, 263, 882, 937, 793, 337, 983, 397, 281, 824, 313, 641, 408, 739, 661, 673, 360, 875]

A: [557, 263, 937, 337, 983, 397, 281, 313, 641, 739, 661, 673]
****
Q: [367, 241, 827, 887, 536, 827, 227]

A: [367, 241, 827, 887, 827, 227]
****
Q: [264, 977, 967, 601, 293, 881, 596, 270, 210, 199, 443, 439, 110, 353, 484, 690, 67, 947]

A:
[977, 967, 601, 293, 881, 199, 443, 439, 353, 67, 947]
****