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: [683, 271, 953, 148, 942, 853, 419, 673, 461, 811, 362, 631, 168, 277, 73]

A: [683, 271, 953, 853, 419, 673, 461, 811, 631, 277, 73]
****
Q: [251, 701, 293, 881, 857, 449, 46, 406, 229, 907, 529, 137, 283, 458]

A: [251, 701, 293, 881, 857, 449, 229, 907, 137, 283]
****
Q: [787, 545, 453, 23, 614, 985, 165, 151, 677, 658, 809, 302, 541]

A:
[787, 23, 151, 677, 809, 541]
****