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.

[354, 255, 239, 293, 733, 350, 733, 41, 541, 813, 683, 688, 3, 581]
[239, 293, 733, 733, 41, 541, 683, 3]

[647, 316, 282, 429, 139, 731, 489, 15, 421, 582, 499, 336]
[647, 139, 421, 499]

[324, 946, 331, 852, 41, 757, 163, 337, 213, 179, 783, 3, 853, 31]

[331, 41, 757, 163, 337, 179, 3, 853, 31]