package main import ( "fmt" "bufio" "os" "strconv" "strings" ) func main() { N := nextInt() z := nextIntArray() fmt.Print(z[N - 1]) fmt.Print("/") fmt.Print(z[0]) } func nextIntArray() []int { s.Split(bufio.ScanLines) s.Scan() S := s.Text() vs := strings.Split(S, " ") N := len(vs) data := make([]int, N) for i := 0; i < N; i++ { v, e := strconv.Atoi(vs[i]) if e != nil { panic(e) } data[i] = v } return data } var s = bufio.NewScanner(os.Stdin) func next() string { s.Split(bufio.ScanWords) s.Scan() return s.Text() } func nextLine() string { s.Split(bufio.ScanLines) s.Scan() return s.Text() } func nextInt() int { i, e := strconv.Atoi(next()) if e != nil { panic(e) } return i } func nextLong() int64 { i, e := strconv.ParseInt(next(), 10, 64) if e != nil { panic(e) } return i }