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.

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

[EX Q]: [428, 494, 971, 521, 358, 260, 91, 429, 540, 846, 458, 279, 228]
[EX A]: [971, 521]

[EX Q]: [193, 949, 892, 190, 673, 223, 409, 191, 501, 161, 857, 593, 449, 937, 369, 223, 947]
[EX A]:
[193, 673, 223, 409, 191, 857, 593, 449, 937, 223, 947]