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


question:
[814, 5, 3, 289, 833, 197, 359, 598, 271, 743, 838, 411, 344, 469, 3]
answer:
[5, 3, 197, 359, 271, 743, 3]


question:
[573, 2, 829, 166, 592, 605, 47, 751, 321, 415]
answer:

[2, 829, 47, 751]