cham babu's submission of Endgame | CodeChef