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]: [171, 599, 773, 739, 652, 480, 857, 673, 881, 647]
[EX A]: [599, 773, 739, 857, 673, 881, 647]

[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]: [358, 13, 19, 523, 654, 683, 331, 31, 569, 526, 373, 307, 634, 834]
[EX A]:
[13, 19, 523, 683, 331, 31, 569, 373, 307]