add solution max sum