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]: [153, 556, 439, 760, 612, 174, 511, 334, 823, 843]
[EX A]: [439, 823]

[EX Q]: [934, 757, 587, 892, 134]
[EX A]: [757, 587]

[EX Q]: [502, 313, 151, 39, 898, 2, 307, 233, 883, 389]
[EX A]:
[313, 151, 2, 307, 233, 883, 389]