Update 1540.cpp