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]: [598, 667, 772, 975]
[A]: []


[Q]: [47, 7, 269, 809]
[A]: [47, 7, 269, 809]


[Q]: [283, 863, 70, 216, 503, 613, 281, 211, 610, 547, 673, 971, 404, 64, 877, 31, 544, 997, 349, 787]
[A]:
[283, 863, 503, 613, 281, 211, 547, 673, 971, 877, 31, 997, 349, 787]