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: [172, 499, 465, 751, 277, 609, 761]

A: [499, 751, 277, 761]
****
Q: [190, 307, 823, 895, 706]

A: [307, 823]
****
Q: [971, 151, 959, 394, 260, 647, 761, 130, 71, 419, 197, 668, 647, 691, 520, 97, 376, 763]

A:
[971, 151, 647, 761, 71, 419, 197, 647, 691, 97]
****