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]: [413, 829, 547, 350, 620, 887, 697, 31, 13]
[EX A]: [829, 547, 887, 31, 13]

[EX Q]: [487, 618, 757, 427, 757, 461, 86, 263, 911, 954, 447, 445, 866, 67, 248, 959, 833, 412]
[EX A]: [487, 757, 757, 461, 263, 911, 67]

[EX Q]: [765, 487, 719, 586, 42, 357, 89, 643, 401, 626, 350, 709, 76, 413, 770, 379, 709, 899]
[EX A]:
[487, 719, 89, 643, 401, 709, 379, 709]