Jain Kashish's submission of Mahasena | CodeChef