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]: [61, 347, 953, 221, 573, 534, 317, 59, 317, 311, 308, 787, 244, 787, 695]
[EX A]: [61, 347, 953, 317, 59, 317, 311, 787, 787]

[EX Q]: [358, 733, 960, 613, 311, 17, 773, 754, 714, 281, 101, 283]
[EX A]: [733, 613, 311, 17, 773, 281, 101, 283]

[EX Q]: [502, 797, 676, 337, 13, 179, 2, 656, 211, 347, 921, 372, 92, 497, 863, 9, 714, 855, 866, 239]
[EX A]:
[797, 337, 13, 179, 2, 211, 347, 863, 239]