Updated 09.cpp