package main import . "fmt" func main() { var c int for i:=0;i<5;i++ { var a int Scan(&a) switch { case a%15==0: c+=8 case a%3==0,a%5==0: c+=4 default: c+=len(Sprint(a)) } } Println(c) }