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: [229, 31, 937, 953]

A: [229, 31, 937, 953]
****
Q: [965, 448, 466, 509, 911, 379, 462, 313, 379, 7, 516, 5, 285, 918]

A: [509, 911, 379, 313, 379, 7, 5]
****
Q: [846, 743, 181, 863, 971, 367, 146, 796, 269, 911]

A:
[743, 181, 863, 971, 367, 269, 911]
****