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]: [36, 180, 367, 299, 518, 619, 669, 294]
[A]: [367, 619]


[Q]: [83, 825, 420, 865, 987, 365, 146, 730, 829, 629, 534]
[A]: [83, 829]


[Q]: [562, 529, 293, 411, 509, 533, 779, 659]
[A]:
[293, 509, 659]