← Home
```go
package main

import "fmt"

func main() {
	var s string
	fmt.Scan(&s)
	n := len(s)
	// We can insert 26 different characters at n + 1 positions.
	// Total raw combinations = 26 * (n + 1).
	// However, duplicates occur. Inserting a character 'c' immediately
	// before or after an existing 'c' results in the same string.
	// For every character already in the string, 1 insertion is redundant.
	// Total distinct strings = Total raw combinations - n.
	fmt.Println(26*(n+1) - n)
}
```