Vivek Chauhan's submission of Mahasena | CodeChef