Update 9.cpp