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: [737, 965, 183, 83, 607]

Output: [83, 607]


Input: Consider Input: [704, 349, 163, 887, 568, 7, 899, 829, 623, 774]

Output: [349, 163, 887, 7, 829]


Input: Consider Input: [223, 28, 31, 211, 710, 472, 58, 358, 571, 702, 116, 181, 487, 901, 224, 847, 643, 239, 594]


Output: [223, 31, 211, 571, 181, 487, 643, 239]