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]: [534, 373, 152, 780, 233, 43, 7, 241, 631, 465, 277, 518, 601, 583, 521, 524, 494]
[A]: [373, 233, 43, 7, 241, 631, 277, 601, 521]


[Q]: [151, 823, 632, 953, 459, 858, 199, 571, 364, 806, 715, 197, 907, 103, 365, 242, 547]
[A]: [151, 823, 953, 199, 571, 197, 907, 103, 547]


[Q]: [363, 82, 487, 709, 859, 5, 149, 983, 361, 907, 22, 673, 373, 796, 7, 853, 557, 240, 487, 127]
[A]:
[487, 709, 859, 5, 149, 983, 907, 673, 373, 7, 853, 557, 487, 127]