Update 1502.cpp