Amazon Interview Question

leetcode easy, math type question.