← Home
```go
package main

import "fmt"

func main() {
	var s string
	fmt.Scan(&s)
	n := len(s)
	set := make(map[string]struct{})
	for pos := 0; pos <= n; pos++ {
		for c := 'a'; c <= 'z'; c++ {
			var newstr string
			if pos == 0 {
				newstr = string(c) + s
			} else if pos == n {
				newstr = s + string(c)
			} else {
				newstr = s[:pos] + string(c) + s[pos:]
			}
			set[newstr] = struct{}{}
		}
	}
	fmt.Println(len(set))
}
```