Ankur Kayal's submission of MathBuzz | CodeChef