Rohith K's submission of Mahasena | CodeChef