Domanda di colloquio di Amazon

Generic question about picking. Simple algebra