package main import ( "fmt" ) func main() { ans := 0 for i := 1; i <= 31; i++ { m := (i / 10) + (i % 10) if 1 <= m && m <= 12 { ans++ } } fmt.Println(ans) }