Update 1027.cpp