Adding 17.3 C++ Solution