Priyansh Saxena's submission of Mahasena | CodeChef