Solve problem 119 using Go.