Tanaeem's submission of Se7en | CodeChef