Update 24.go

shortened expression of 1)