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]: [244, 82, 41, 352, 151, 718, 503, 776, 55, 367, 787, 174, 211, 751, 576]
[EX A]: [41, 151, 503, 367, 787, 211, 751]

[EX Q]: [763, 57, 509, 566, 435]
[EX A]: [509]

[EX Q]: [547, 691, 733, 253, 737, 349, 95, 751, 916, 619, 23, 211, 79, 255, 829, 686, 373]
[EX A]:
[547, 691, 733, 349, 751, 619, 23, 211, 79, 829, 373]