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