Solved 11377.cpp