```go package main import "fmt" func main() { var t int fmt.Scan(&t) for i := 0; i < t; i++ { var s string fmt.Scan(&s) fmt.Println(len(s)) } } ```