Solve problem 124 using Go.
Solve problem 125 using Ruby.