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]: [716, 223, 707, 129, 571, 47, 883, 809, 226, 967, 859, 810, 840, 127, 562, 683, 484]
[EX A]: [223, 571, 47, 883, 809, 967, 859, 127, 683]

[EX Q]: [716, 47, 107, 779, 263, 703, 287, 486, 137, 246, 435, 151, 193, 830, 938]
[EX A]: [47, 107, 263, 137, 151, 193]

[EX Q]: [521, 761, 929, 101, 617, 827, 237, 659, 399, 432, 311, 12, 429, 109, 641]
[EX A]:
[521, 761, 929, 101, 617, 827, 659, 311, 109, 641]