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]: [723, 487, 743, 601, 263, 209, 948, 756, 553, 709, 426, 634, 756, 293, 727, 481, 433]
[EX A]: [487, 743, 601, 263, 709, 293, 727, 433]

[EX Q]: [585, 179, 107, 683, 901, 647, 211, 619]
[EX A]:
[179, 107, 683, 647, 211, 619]