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:
[797, 687, 816, 860, 542, 583, 227, 787, 967, 541, 23, 409, 991, 942, 557, 733, 307, 967, 853, 61]
answer:
[797, 227, 787, 967, 541, 23, 409, 991, 557, 733, 307, 967, 853, 61]


question:
[982, 311, 401, 906, 163, 669, 996]
answer:
[311, 401, 163]


question:
[787, 667, 161, 619, 619, 47, 421, 439, 491]
answer:

[787, 619, 619, 47, 421, 439, 491]