Update solution17.cpp