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: [144, 523, 606, 391]

Output: [523]


Input: Consider Input: [599, 390, 789, 659, 757, 23, 197, 43, 383, 487, 979, 757, 821, 557]


Output: [599, 659, 757, 23, 197, 43, 383, 487, 757, 821, 557]