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: [971, 981, 787, 380, 907, 673, 660, 227, 593, 666, 563, 556, 257]

Output: [971, 787, 907, 673, 227, 593, 563, 257]


Input: Consider Input: [761, 249, 347, 273, 877, 344, 73, 725]

Output: [761, 347, 877, 73]


Input: Consider Input: [441, 233, 863, 808, 746, 439, 977, 565, 7, 539, 977, 632, 152]


Output: [233, 863, 439, 977, 7, 977]