Create problem29.cpp