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]: [236, 449, 523, 20, 640, 544, 35, 613, 811, 521]
[A]: [449, 523, 613, 811, 521]


[Q]: [239, 123, 713, 750, 227, 757, 337, 359, 947, 168]
[A]: [239, 227, 757, 337, 359, 947]


[Q]: [405, 477, 497, 769, 284, 541, 907, 769, 973, 173, 164, 479, 217, 59, 149, 23, 65, 982, 121, 49]
[A]:
[769, 541, 907, 769, 173, 479, 59, 149, 23]