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.

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

[EX Q]: [718, 638, 83, 229, 975, 331, 44, 191, 60, 57, 317, 363, 419]
[EX A]: [83, 229, 331, 191, 317, 419]

[EX Q]: [9, 647, 634, 107, 438, 11, 857, 936]
[EX A]:
[647, 107, 11, 857]