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]: [333, 661, 946, 587, 112, 677, 463, 537]
[EX A]: [661, 587, 677, 463]

[EX Q]: [439, 257, 313, 137]
[EX A]: [439, 257, 313, 137]

[EX Q]: [40, 953, 805, 677, 457, 648, 993, 233, 251, 451, 678]
[EX A]:
[953, 677, 457, 233, 251]