package main import ( "bufio" "fmt" "math" "os" ) var sc = bufio.NewScanner(os.Stdin) func nextLine() string { sc.Scan() return sc.Text() } func main() { line := nextLine() fmt.Println(int(math.Abs(float64((len(line) - 2) - 8)))) }