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.

Q: [503, 827, 191, 80, 171, 965, 634, 796, 962]

A: [503, 827, 191]
****
Q: [151, 634, 90, 92, 71, 710, 461, 241, 729, 980, 211, 3]

A: [151, 71, 461, 241, 211, 3]
****
Q: [563, 253, 401, 853, 58, 537, 102, 643, 354, 41, 249, 638, 798, 454, 726, 829, 287]

A:
[563, 401, 853, 643, 41, 829]
****