Solve problem 33 using Go.