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: [113, 953, 986, 463, 639, 173, 61, 998]

A: [113, 953, 463, 173, 61]
****
Q: [247, 7, 474, 191, 509, 835]

A: [7, 191, 509]
****
Q: [965, 498, 412, 947, 211, 892, 361, 239, 714, 102, 463, 15, 401]

A:
[947, 211, 239, 463, 401]
****