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: [557, 647, 79, 153, 305, 413, 167, 615, 575, 461, 575, 977]

Output: [557, 647, 79, 167, 461, 977]


Input: Consider Input: [457, 229, 172, 719, 714, 53, 811, 347, 978, 608, 953, 114, 491, 748, 424, 134, 102, 101, 961, 911]

Output: [457, 229, 719, 53, 811, 347, 953, 491, 101, 911]


Input: Consider Input: [31, 780, 281, 953, 715, 292, 890, 577, 643, 409, 610, 776, 499, 91, 604, 848]


Output: [31, 281, 953, 577, 643, 409, 499]