Adding 17.5 solution

Please add C++ solution of 17.5