1-2.cpp completed