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: [779, 108, 261, 509, 832, 373, 286, 79, 509, 383, 977, 14]

Output: [509, 373, 79, 509, 383, 977]


Input: Consider Input: [109, 693, 732, 360, 693, 311, 733, 963, 167, 903]

Output: [109, 311, 733, 167]


Input: Consider Input: [619, 825, 599, 78, 967, 665, 396, 135, 892, 538, 867, 947, 389, 235]


Output: [619, 599, 967, 947, 389]