Sum problem