Yaseen Mollik's submission of Mahasena | CodeChef