Updated 15.cpp