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.

Q: [563, 283, 487, 787, 29, 73, 644]

A: [563, 283, 487, 787, 29, 73]
****
Q: [410, 904, 443]

A: [443]
****
Q: [108, 41, 63, 2, 96, 251, 510, 823, 989, 383, 155, 277]

A:
[41, 2, 251, 823, 383, 277]
****