Update fourth.cpp