Tiancheng Lou's submission of Witua and Math | CodeChef