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.

[876, 173, 936, 929, 806, 360, 103, 114, 622, 690, 813, 540, 599]
[173, 929, 103, 599]

[706, 694, 955, 937, 641, 556, 919, 739, 502, 104, 30]
[937, 641, 919, 739]

[145, 40, 559, 379, 239, 241, 211, 997, 734, 3, 335, 358, 588, 357, 199, 9, 73, 863, 619, 373]

[379, 239, 241, 211, 997, 3, 199, 73, 863, 619, 373]