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.

[965, 448, 466, 509, 911, 379, 462, 313, 379, 7, 516, 5, 285, 918]
[509, 911, 379, 313, 379, 7, 5]

[639, 47, 382, 798, 421, 43, 773, 662, 76, 503]
[47, 421, 43, 773, 503]

[127, 215, 717, 503, 262, 44, 151, 641, 592, 607, 739, 630, 58, 487, 823, 192, 593]

[127, 503, 151, 641, 607, 739, 487, 823, 593]