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]: [883, 162, 878, 967, 687, 757, 870, 50, 739, 683, 456, 392, 654, 901, 13, 567]
[EX A]: [883, 967, 757, 739, 683, 13]

[EX Q]: [677, 671, 254, 873]
[EX A]: [677]

[EX Q]: [999, 376, 438, 937, 415, 372, 452, 517, 872]
[EX A]:
[937]