Anmol's submission of Mahasena | CodeChef