Fixed 3.cpp