Problem - 1676C - Codeforces. You are given n words of equal length m, consisting of lowercase Latin alphabet letters. The i-th word is denoted si. In one move you can choose any position in any single word and change the letter at that position to the previous or next letter in alphabetical order.