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]: [41, 625, 372, 958, 657, 898, 199, 311, 545, 926, 499, 615, 157, 349, 313, 603, 853, 617]
[EX A]: [41, 199, 311, 499, 157, 349, 313, 853, 617]

[EX Q]: [63, 111, 385, 189, 720, 239, 269, 199, 193, 89, 317, 244, 599, 268, 989, 948, 9, 678, 149]
[EX A]:
[239, 269, 199, 193, 89, 317, 599, 149]