12 40 30 max(12, 40, 30) = 25 max(12, 40, 30) + 25 =