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.

[579, 331, 193, 164, 433, 865, 587, 919, 522, 382, 794, 829, 294, 881, 124, 364]
[331, 193, 433, 587, 919, 829, 881]

[457, 229, 172, 719, 714, 53, 811, 347, 978, 608, 953, 114, 491, 748, 424, 134, 102, 101, 961, 911]
[457, 229, 719, 53, 811, 347, 953, 491, 101, 911]

[47, 360, 429, 859, 97, 509, 576, 359, 763, 82, 733, 633, 768, 749, 5, 720, 284, 67, 673]

[47, 859, 97, 509, 359, 733, 5, 67, 673]