Vivek Kumar's submission of Mahasena | CodeChef