package main import ( "fmt" "strings" ) func main() { var f, s string d := 31 fmt.Scan(&f, &s) d += strings.Count(f+s, "S") fmt.Printf("8/%d\n", d) }