package main

import (
	"fmt"
	"slices"
)

func main() {
	// section: example
	numbers := []int{1, 2, 3, 4, 5}
	words := []string{"Apple", "Banana", "Cherry"}

	fmt.Println("Before reverse:")
	fmt.Println("  numbers:", numbers)
	fmt.Println("  words:  ", words)

	slices.Reverse(numbers)
	slices.Reverse(words)

	fmt.Println("\nAfter reverse:")
	fmt.Println("  numbers:", numbers)
	fmt.Println("  words:  ", words)
	// section: example
}
