Egor Suvorov's submission of WordNinjas | CodeChef