Shubham Srivastava's submission of Mahasena | CodeChef