Rajvaibhav Rahane's submission of Mahasena | CodeChef