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: [563, 283, 487, 787, 29, 73, 644]

Output: [563, 283, 487, 787, 29, 73]


Input: Consider Input: [337, 264, 776, 201, 33, 29, 211, 601, 103, 461, 330, 61, 211, 929, 202, 907, 117]

Output: [337, 29, 211, 601, 103, 461, 61, 211, 929, 907]


Input: Consider Input: [39, 659, 541]


Output: [659, 541]