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: [723, 791, 587, 73, 601, 733, 842, 277, 983]

A: [587, 73, 601, 733, 277, 983]
****
Q: [277, 888, 263, 883, 420, 818]

A: [277, 263, 883]
****
Q: [73, 173, 872, 561, 680, 671, 859, 228, 789, 178, 435, 773, 440, 619, 171, 137, 696, 814, 68, 113]

A:
[73, 173, 859, 773, 619, 137, 113]
****