amit kumar's submission of Mahasena | CodeChef