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: [29, 199, 436, 719, 839, 183, 907, 621, 660, 870, 688, 834, 133, 639, 761, 245, 196, 523, 908, 59]

Output: [29, 199, 719, 839, 907, 761, 523, 59]


Input: Consider Input: [845, 461, 381, 2, 248, 7, 223, 999]

Output: [461, 2, 7, 223]


Input: Consider Input: [101, 239, 233, 514, 997, 223, 824, 97, 641, 643, 948]


Output: [101, 239, 233, 997, 223, 97, 641, 643]