Zhenyang Dai's submission of Witua and Math | CodeChef