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:
[723, 791, 587, 73, 601, 733, 842, 277, 983]
answer:
[587, 73, 601, 733, 277, 983]


question:
[229, 347, 619, 904, 521, 868, 367, 45, 241]
answer:
[229, 347, 619, 521, 367, 241]


question:
[980, 587, 604, 401, 721, 277, 643, 983, 29, 23, 67, 119, 757, 947, 184, 677, 461, 85, 262, 827]
answer:

[587, 401, 277, 643, 983, 29, 23, 67, 757, 947, 677, 461, 827]