Pregunta de entrevista de OpenBet

Solve numeric problem and fill in code to make it running