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]: [487, 618, 757, 427, 757, 461, 86, 263, 911, 954, 447, 445, 866, 67, 248, 959, 833, 412]
[A]: [487, 757, 757, 461, 263, 911, 67]


[Q]: [628, 599, 769, 5]
[A]: [599, 769, 5]


[Q]: [61, 162, 359, 491, 540, 463, 257, 466]
[A]:
[61, 359, 491, 463, 257]