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]: [120, 509]
[EX A]: [509]

[EX Q]: [459, 489, 358, 587, 509, 983, 349, 457, 937, 867, 191, 135, 730]
[EX A]: [587, 509, 983, 349, 457, 937, 191]

[EX Q]: [61, 876, 167, 148, 449, 449, 757, 109, 499, 701, 978]
[EX A]:
[61, 167, 449, 449, 757, 109, 499, 701]