package main import ( "fmt" "strconv" "strings" ) func main() { var s string fmt.Scanf("%s", &s) ls := strings.Split(s, ";") lr := []string{} for _, v := range ls { if IsValid(v) { lr = append(lr, v) } } p := Position{0, 0} ...