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: [977, 73, 967, 139, 547, 463, 587, 619, 821, 136, 191, 933, 420, 211, 233]

Output: [977, 73, 967, 139, 547, 463, 587, 619, 821, 191, 211, 233]


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

Output: [109, 311, 733, 167]


Input: Consider Input: [414, 638, 797, 889, 409, 762, 647, 138, 964, 491, 479, 516, 942, 137, 59, 331, 334, 269]


Output: [797, 409, 647, 491, 479, 137, 59, 331, 269]