func Pop[T any](a *[]T) T {
	var x T
	x, *a = (*a)[len(*a)-1], (*a)[:len(*a)-1]
	return x
}
// Pop removes and returns the element at the end of a.
Pop removes and returns the element at the end of a.
// Pop removes and returns the element at the end of a .
func Pop[T any](a *[]T) T {
	var x T
	x, *a = (*a)[len(*a)-1], (*a)[:len(*a)-1]
	return x
}
func Pop [ T any ] ( a * [ ] T ) T { var x T x , * a = ( * a ) [ len ( * a ) - 1 ] , ( * a ) [ : len ( * a ) - 1 ] return x }
Pop removes and returns the element at the end of a.
Pop removes and returns the element at the end of a .