How in the world is anyone supposed to help you with this?
You give a random list of numbers as input and then say you want a selection of those numbers as output, but you say nothing about how those numbers should be picked out.
@kokoshneta Its a bot. Account created 28mins ago - actually, the account got created and then question was immediately posted after a few sec it seems.
That there is probably some algorithm challenge that says to do XYZ and the output is meant to be X.