math's submission of Word Play | CodeChef