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: [163, 133, 782, 293, 503, 751, 390]

A: [163, 293, 503, 751]
****
Q: [686, 533, 336, 254, 2, 418, 197, 167, 65, 448, 723]

A: [2, 197, 167]
****
Q: [151, 250, 433, 977, 401, 842, 156, 863, 13]

A:
[151, 433, 977, 401, 863, 13]
****