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:
[511, 250, 811, 874, 37]
answer:
[811, 37]


question:
[354, 255, 239, 293, 733, 350, 733, 41, 541, 813, 683, 688, 3, 581]
answer:
[239, 293, 733, 733, 41, 541, 683, 3]


question:
[277, 930, 246, 719, 729, 719, 470, 919, 214, 584, 977]
answer:

[277, 719, 719, 919, 977]