Amazon interview question

Situation based question involving basic mathematical calculation