Tashreef Muhammad's submission of Mahasena | CodeChef