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: [859, 467, 748, 245, 2, 645, 243, 659, 625]

Output: [859, 467, 2, 659]


Input: Consider Input: [729, 929, 197, 577, 109, 305]

Output: [929, 197, 577, 109]


Input: Consider Input: [210, 234, 691, 246, 787, 489, 233, 911, 431, 840, 977, 113, 859, 587, 103]


Output: [691, 787, 233, 911, 431, 977, 113, 859, 587, 103]