Pranav Raut's submission of Mahasena | CodeChef