Amazon Interview Question

Two OA questions is a simple modulus sum and another is a decision based question