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: [649, 709, 683, 487]

A: [709, 683, 487]
****
Q: [251, 393, 405, 829, 392, 227, 47, 108]

A: [251, 829, 227, 47]
****
Q: [523, 17, 97, 811, 353, 79, 77, 557, 736, 331, 885, 73, 685, 551, 499]

A:
[523, 17, 97, 811, 353, 79, 557, 331, 73, 499]
****