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]: [763, 57, 509, 566, 435]
[A]: [509]


[Q]: [971, 84, 379, 241, 510, 410, 953, 768]
[A]: [971, 379, 241, 953]


[Q]: [397, 916, 744, 939, 2, 197, 756, 227, 160]
[A]:
[397, 2, 197, 227]