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.

[459, 489, 358, 587, 509, 983, 349, 457, 937, 867, 191, 135, 730]
[587, 509, 983, 349, 457, 937, 191]

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

[769, 270, 855, 613, 79, 62, 383, 162, 835, 648, 154, 499, 659, 909, 865, 964, 606, 972, 31]

[769, 613, 79, 383, 499, 659, 31]