Ramasamy S M's submission of Mahasena | CodeChef