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: [647, 653, 812, 761, 304, 929, 83]

A: [647, 653, 761, 929, 83]
****
Q: [587, 743, 125, 314, 449, 167, 328, 140, 172, 595, 97, 932, 381, 73, 197]

A: [587, 743, 449, 167, 97, 73, 197]
****
Q: [448, 269, 509, 769, 284, 349, 619, 987, 697, 969, 603, 787, 846, 124, 467, 996, 146, 899, 607]

A:
[269, 509, 769, 349, 619, 787, 467, 607]
****