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: [603, 302, 547, 331, 229, 276, 403, 745, 707, 168]

A: [547, 331, 229]
****
Q: [353, 953, 99, 641, 787, 160, 593, 269, 302, 315, 894, 846, 353, 461]

A: [353, 953, 641, 787, 593, 269, 353, 461]
****
Q: [103, 170, 163, 424, 111, 716, 370, 201, 174, 101, 241, 681, 449, 245, 239, 773]

A:
[103, 163, 101, 241, 449, 239, 773]
****