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: [413, 829, 547, 350, 620, 887, 697, 31, 13]

A: [829, 547, 887, 31, 13]
****
Q: [120, 509]

A: [509]
****
Q: [632, 926, 429, 362, 139, 211, 438, 337, 967, 757, 140, 967, 806, 868, 388, 17, 659]

A:
[139, 211, 337, 967, 757, 967, 17, 659]
****