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.

Input: Consider Input: [23, 985, 845, 367, 464, 29, 607, 977, 143, 193, 383, 719, 139, 746, 830, 489]

Output: [23, 367, 29, 607, 977, 193, 383, 719, 139]


Input: Consider Input: [94, 868, 337, 227, 282, 580, 482, 941, 859, 809, 256, 131, 465, 472, 389, 243, 439, 585, 523, 775]

Output: [337, 227, 941, 859, 809, 131, 389, 439, 523]


Input: Consider Input: [225, 528, 79, 293, 354, 477, 149, 686, 512, 202, 941, 953, 13, 92, 291, 29]


Output: [79, 293, 149, 941, 953, 13, 29]