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: [677, 397]

Output: [677, 397]


Input: Consider Input: [65, 211, 397, 167, 397, 213]

Output: [211, 397, 167, 397]


Input: Consider Input: [40, 943, 154, 104, 546, 936, 647, 997]


Output: [647, 997]