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]: [647, 653, 812, 761, 304, 929, 83]
[EX A]: [647, 653, 761, 929, 83]

[EX Q]: [211, 22, 139, 887, 460, 827, 727, 392, 489, 401, 122, 945, 499, 569, 13, 348, 695, 867]
[EX A]: [211, 139, 887, 827, 727, 401, 499, 569, 13]

[EX Q]: [665, 313, 126, 982, 576, 578, 779, 795, 808, 882, 977, 183, 874, 479, 397, 185, 925, 32, 305, 107]
[EX A]:
[313, 977, 479, 397, 107]