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]: [390, 861, 755, 387, 79, 929, 769, 818, 628, 564, 347, 35, 417, 409, 35]
[A]: [79, 929, 769, 347, 409]


[Q]: [41, 407, 857, 986]
[A]: [41, 857]


[Q]: [883, 993, 593, 263, 972, 997, 587, 973, 104, 168, 261, 845, 475, 324, 101, 523, 524, 612]
[A]:
[883, 593, 263, 997, 587, 101, 523]