package main import ( "bufio" "fmt" "os" "strconv" "strings" ) func main() { reader := bufio.NewReader(os.Stdin) text, _ := reader.ReadString('\n') index := strings.LastIndex(text, ".") lastValue, _ := strconv.Atoi(string(text[index+1])) firstValue, _ := str...