Jeffrey Jiang's submission of Reign 2 | CodeChef