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: [439, 257, 313, 137]

Output: [439, 257, 313, 137]


Input: Consider Input: [737, 965, 183, 83, 607]

Output: [83, 607]


Input: Consider Input: [569, 831, 368, 461, 277, 705, 51, 6, 877, 2, 522, 870]


Output: [569, 461, 277, 877, 2]