Amazon interview question

They are random from a list