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]

[599, 355, 286, 51, 89, 831, 191, 90]
[599, 89, 191]

[593, 151, 461, 17, 115, 34, 109, 210, 648, 600, 802, 318, 475, 244, 831]

[593, 151, 461, 17, 109]