Solve problem 45 using C++, Go, and Python.