Tiancheng Lou's submission of WordNinjas | CodeChef