https://wikimass.com/cpp/alphabet-pattern-9